diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:30:11 +0300 |
commit | bf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch) | |
tree | 46018d5b85c669961fb2fe6ab8af06f432139999 /src/resources | |
parent | fdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff) | |
download | mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2 mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz mv-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip |
Add missing static keywords
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/memorymanager.h | 12 | ||||
-rw-r--r-- | src/resources/sdlimagehelper.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/resources/memorymanager.h b/src/resources/memorymanager.h index 8dbf11b7f..3abceb6ce 100644 --- a/src/resources/memorymanager.h +++ b/src/resources/memorymanager.h @@ -39,14 +39,14 @@ class MemoryManager final ~MemoryManager() { } - int getSurfaceSize(const SDL_Surface *const surface); + static int getSurfaceSize(const SDL_Surface *const surface); - void printMemory(const std::string &name, - const int level, - const int localSum, - const int childsSum); + static void printMemory(const std::string &name, + const int level, + const int localSum, + const int childsSum); - void printAllMemory(ChatTab *const tab); + static void printAllMemory(ChatTab *const tab); }; extern MemoryManager memoryManager; diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h index 77f6d3941..63089966c 100644 --- a/src/resources/sdlimagehelper.h +++ b/src/resources/sdlimagehelper.h @@ -94,7 +94,7 @@ class SDLImageHelper final : public ImageHelper protected: /** SDL_Surface to SDL_Surface Image loader */ - Image *_SDLload(SDL_Surface *tmpImage) A_WARN_UNUSED; + static Image *_SDLload(SDL_Surface *tmpImage); static bool mEnableAlphaCache; }; |