Commit 67439e92 authored by Reno Dakota's avatar Reno Dakota Committed by github-actions[bot]
Browse files

xcbuild: const can't desctruct. fix build

build failed on clang-19
fixes 82a00b78

(cherry picked from commit ab589837)
parent d48e391b
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"
+  };