Skip to content

Commit a72679c

Browse files
authored
Merge pull request #73549 from z2oh/fix-windows-search-paths-6.0-cherry-pick
2 parents 797765a + 05688cb commit a72679c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/swift/AST/SearchPathOptions.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,10 @@ class SearchPathOptions {
372372
FrameworkSearchPaths.size() - 1);
373373
}
374374

375-
std::optional<StringRef> WinSDKRoot = std::nullopt;
376-
std::optional<StringRef> WinSDKVersion = std::nullopt;
377-
std::optional<StringRef> VCToolsRoot = std::nullopt;
378-
std::optional<StringRef> VCToolsVersion = std::nullopt;
375+
std::optional<std::string> WinSDKRoot = std::nullopt;
376+
std::optional<std::string> WinSDKVersion = std::nullopt;
377+
std::optional<std::string> VCToolsRoot = std::nullopt;
378+
std::optional<std::string> VCToolsVersion = std::nullopt;
379379

380380
public:
381381
StringRef getSDKPath() const { return SDKPath; }

0 commit comments

Comments
 (0)