Unverified Commit ab589837 authored by Reno Dakota's avatar Reno Dakota
Browse files

xcbuild: const can't desctruct. fix build

build failed on clang-19
fixes 82a00b78
parent 160537bb
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"
+  };