Unverified Commit 268c6e4f authored by Emily's avatar Emily Committed by GitHub
Browse files

xcbuild: const can't desctruct. fix build (#357472)

parents 57269e59 ab589837
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"
+  };