From 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Sep 2013 13:48:24 +0300 Subject: improve a bit strings declaration. --- src/graphicsmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphicsmanager.cpp') diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 587938798..29e65df1b 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -909,7 +909,7 @@ std::string GraphicsManager::errorToString(const GLenum error) { if (error) { - std::string errmsg = "Unknown error"; + std::string errmsg("Unknown error"); switch (error) { case GL_INVALID_ENUM: -- cgit v1.2.3-70-g09d2