@@ -25,6 +25,7 @@ BroadcastEvent(const auto& listeners, auto& event)
2525}
2626
2727void
28+ // cppcheck-suppress constParameterCallback
2829InputManager::InternalKeyCallback (GLFWwindow* window, int32_t key, int32_t scancode,
2930 int32_t action, int32_t mods)
3031{
@@ -37,6 +38,7 @@ InputManager::InternalKeyCallback(GLFWwindow* window, int32_t key, int32_t scanc
3738}
3839
3940void
41+ // cppcheck-suppress constParameterCallback
4042InputManager::InternalCharCallback (GLFWwindow* window, uint32_t key)
4143{
4244 Logger::Trace (" GLFW char {}" , key);
@@ -47,6 +49,7 @@ InputManager::InternalCharCallback(GLFWwindow* window, uint32_t key)
4749}
4850
4951void
52+ // cppcheck-suppress constParameterCallback
5053InputManager::InternalMouseButtonCallback (GLFWwindow* window, int32_t button, int32_t action,
5154 int32_t mods)
5255{
@@ -58,6 +61,7 @@ InputManager::InternalMouseButtonCallback(GLFWwindow* window, int32_t button, in
5861}
5962
6063void
64+ // cppcheck-suppress constParameterCallback
6165InputManager::InternalCursorPositionCallback (GLFWwindow* window, double xPos, double yPos)
6266{
6367 Logger::Trace (" GLFW cursor pos {} {}" , xPos, yPos);
@@ -69,6 +73,7 @@ InputManager::InternalCursorPositionCallback(GLFWwindow* window, double xPos, do
6973}
7074
7175void
76+ // cppcheck-suppress constParameterCallback
7277InputManager::InternalMouseScrollCallback (GLFWwindow* window, double xOffset, double yOffset)
7378{
7479 Logger::Trace (" GLFW scroll {} {}" , xOffset, yOffset);
@@ -79,6 +84,7 @@ InputManager::InternalMouseScrollCallback(GLFWwindow* window, double xOffset, do
7984}
8085
8186void
87+ // cppcheck-suppress constParameterCallback
8288InputManager::InternalWindowFocusCallback (GLFWwindow* window, int32_t focused)
8389{
8490 Logger::Trace (" GLFW window focus {}" , focused);
0 commit comments