diff options
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 2 |
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 |