aboutsummaryrefslogtreecommitdiff
path: root/lib/WindowsManifest/WindowsManifestMerger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WindowsManifest/WindowsManifestMerger.cpp')
-rw-r--r--lib/WindowsManifest/WindowsManifestMerger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/WindowsManifest/WindowsManifestMerger.cpp b/lib/WindowsManifest/WindowsManifestMerger.cpp
index d092ab493c9b..031a963cd3b0 100644
--- a/lib/WindowsManifest/WindowsManifestMerger.cpp
+++ b/lib/WindowsManifest/WindowsManifestMerger.cpp
@@ -58,7 +58,7 @@ private:
#if LLVM_LIBXML2_ENABLED
-static const std::pair<StringRef, StringRef> MtNsHrefsPrefixes[] = {
+static constexpr std::pair<StringLiteral, StringLiteral> MtNsHrefsPrefixes[] = {
{"urn:schemas-microsoft-com:asm.v1", "ms_asmv1"},
{"urn:schemas-microsoft-com:asm.v2", "ms_asmv2"},
{"urn:schemas-microsoft-com:asm.v3", "ms_asmv3"},
@@ -704,7 +704,7 @@ bool windows_manifest::isAvailable() { return false; }
#endif
WindowsManifestMerger::WindowsManifestMerger()
- : Impl(make_unique<WindowsManifestMergerImpl>()) {}
+ : Impl(std::make_unique<WindowsManifestMergerImpl>()) {}
WindowsManifestMerger::~WindowsManifestMerger() {}