diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-06-30 17:52:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-06-30 18:17:25 +0300 |
commit | 34e04ccde21e21246d82e3d5a54860dc85029ea1 (patch) | |
tree | 8f8b8bb11813cf32b0086c09331fc413b424a2d1 /intern/ghost/intern/GHOST_System.h | |
parent | ef268c78933079137288e326704431432adf9ad9 (diff) |
Cleanup: fix compiler warnings
"override" should be used either for all methods or none, otherwise Clang gives
warnings. Adding it for all platforms is a bigger change.
Diffstat (limited to 'intern/ghost/intern/GHOST_System.h')
-rw-r--r-- | intern/ghost/intern/GHOST_System.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_System.h b/intern/ghost/intern/GHOST_System.h index 42f0a773dea..d5558be3444 100644 --- a/intern/ghost/intern/GHOST_System.h +++ b/intern/ghost/intern/GHOST_System.h @@ -209,10 +209,8 @@ class GHOST_System : public GHOST_ISystem { GHOST_TSuccess getCursorPositionClientRelative(const GHOST_IWindow *window, int32_t &x, - int32_t &y) const override; - GHOST_TSuccess setCursorPositionClientRelative(GHOST_IWindow *window, - int32_t x, - int32_t y) override; + int32_t &y) const; + GHOST_TSuccess setCursorPositionClientRelative(GHOST_IWindow *window, int32_t x, int32_t y); /** * Inherited from GHOST_ISystem but left pure virtual |