From b8078e7419f589ee6c55430cc0497b8edfc297af Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 11 Jun 2020 15:55:02 -0400 Subject: [PATCH] CShaderGenerator: Fix compiler warning MSVC desires the namespace version --- src/Core/OpenGL/CShaderGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/OpenGL/CShaderGenerator.cpp b/src/Core/OpenGL/CShaderGenerator.cpp index 6410581b..97bdd33f 100644 --- a/src/Core/OpenGL/CShaderGenerator.cpp +++ b/src/Core/OpenGL/CShaderGenerator.cpp @@ -6,7 +6,7 @@ #include #include -using std::string_view_literals::operator""sv; +using namespace std::string_view_literals; constexpr std::array gkCoordSrc{ "ModelSpacePos.xyz"sv,