From a873fd1ece450b63b996ca9aa45ba41b81768715 Mon Sep 17 00:00:00 2001 From: Angad Date: Thu, 14 Sep 2023 22:05:10 -0700 Subject: [PATCH] fix: add string_view_literals namespace inclusion to CommonLibSF.cmake --- CommonLibSF/cmake/CommonLibSF.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CommonLibSF/cmake/CommonLibSF.cmake b/CommonLibSF/cmake/CommonLibSF.cmake index 3e951f8e..cba5970f 100644 --- a/CommonLibSF/cmake/CommonLibSF.cmake +++ b/CommonLibSF/cmake/CommonLibSF.cmake @@ -117,6 +117,7 @@ function(target_commonlibsf_properties TARGET) "#define SFSEPluginVersion extern \"C\" __declspec(dllexport) constinit SFSE::PluginVersionData SFSEPlugin_Version\n\n" "namespace Plugin\n" "{\n" + " using namespace std::string_view_literals;\n\n" " static constexpr auto Name{ \"${commonlibsf_plugin_name}\"sv };\n" " static constexpr auto Author{ \"${ADD_COMMONLIBSF_PLUGIN_AUTHOR}\"sv };\n" " static constexpr auto Version{\n"