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.
This commit is contained in:
Brecht Van Lommel 2022-06-30 16:52:04 +02:00
parent ef268c7893
commit 34e04ccde2
1 changed files with 2 additions and 4 deletions

View File

@ -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