summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 18:26:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 18:26:16 +0300
commit67638eeec5267977940dce29c5a94ce4d093ed69 (patch)
tree2bacbaba1379e57c846929ef31e949fb2bd7f946 /src/graphicsmanager.h
parent3308da97a29b1170e720b4341456bb39869bed24 (diff)
downloadmv-67638eeec5267977940dce29c5a94ce4d093ed69.tar.gz
mv-67638eeec5267977940dce29c5a94ce4d093ed69.tar.bz2
mv-67638eeec5267977940dce29c5a94ce4d093ed69.tar.xz
mv-67638eeec5267977940dce29c5a94ce4d093ed69.zip
Add constexpr and noexcept into some methods.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 003d32d6c..f61f3a1f3 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -161,7 +161,7 @@ class GraphicsManager final
static GLenum getLastErrorCached()
{ return mLastError; }
- static void resetCachedError()
+ constexpr static void resetCachedError() noexcept2
{ mLastError = GL_NO_ERROR; }
#endif // USE_OPENGL