diff options
Diffstat (limited to 'contrib/llvm-project/clang/include/clang/Lex/HeaderSearchOptions.h')
-rw-r--r-- | contrib/llvm-project/clang/include/clang/Lex/HeaderSearchOptions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm-project/clang/include/clang/Lex/HeaderSearchOptions.h b/contrib/llvm-project/clang/include/clang/Lex/HeaderSearchOptions.h index 5c19a41986b5..3af49e175395 100644 --- a/contrib/llvm-project/clang/include/clang/Lex/HeaderSearchOptions.h +++ b/contrib/llvm-project/clang/include/clang/Lex/HeaderSearchOptions.h @@ -115,7 +115,7 @@ public: std::string ModuleUserBuildPath; /// The mapping of module names to prebuilt module files. - std::map<std::string, std::string> PrebuiltModuleFiles; + std::map<std::string, std::string, std::less<>> PrebuiltModuleFiles; /// The directories used to load prebuilt module files. std::vector<std::string> PrebuiltModulePaths; @@ -239,11 +239,11 @@ public: } void AddVFSOverlayFile(StringRef Name) { - VFSOverlayFiles.push_back(Name); + VFSOverlayFiles.push_back(std::string(Name)); } void AddPrebuiltModulePath(StringRef Name) { - PrebuiltModulePaths.push_back(Name); + PrebuiltModulePaths.push_back(std::string(Name)); } }; |