diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-06-24 20:17:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-06-24 20:35:23 +0300 |
commit | b5840f9b5ba912f016db01dfcd5b28f32195c147 (patch) | |
tree | 33863cc91b80cb00c0745077a3f256631bd38814 /intern | |
parent | beb6399ae5971fdbbf8aa6eb8832200afabeb97d (diff) |
Cleanup: compiler warnings with clang
* Mark either all or no class methods with override
* Don't use zero sized array since it has a different size in C and C++.
Using a little more memory here is not significant.
* Don't use deprecated mechanism to mark private GSet members in clang
just like we don't for MSVC, it warns even for simple zero initialization.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_System.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_System.h b/intern/ghost/intern/GHOST_System.h index 9915520691f..279f90b9641 100644 --- a/intern/ghost/intern/GHOST_System.h +++ b/intern/ghost/intern/GHOST_System.h @@ -239,7 +239,7 @@ class GHOST_System : public GHOST_ISystem { * Set which tablet API to use. Only affects Windows, other platforms have a single API. * \param api: Enum indicating which API to use. */ - virtual void setTabletAPI(GHOST_TTabletAPI api) override; + virtual void setTabletAPI(GHOST_TTabletAPI api); GHOST_TTabletAPI getTabletAPI(void); #ifdef WITH_INPUT_NDOF |