Unverified Commit 05390db1 authored by Emily's avatar Emily Committed by GitHub
Browse files

[Backport staging-24.11] xcbuild: const can't desctruct. fix build (#357484)

parents d48e391b 67439e92
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ diff -Naur a/Libraries/xcsdk/Tools/xcrun.cpp b/Libraries/xcsdk/Tools/xcrun.cpp
 using libutil::FSUtil;
 
+namespace {
+  const std::vector<const std::string> kSystemDeveloperDirs = {
+  const std::vector<std::string> kSystemDeveloperDirs = {
+    "/private/var/select/developer_dir",
+    "/private/var/db/xcode_select_link"
+  };