xcbuild: const can't desctruct. fix build

build failed on clang-19
fixes 82a00b78e4
This commit is contained in:
Reno Dakota
2024-11-19 21:14:40 -08:00
parent 160537bba1
commit ab58983759
@@ -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"
+ };