summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-09-30 03:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2019-09-30 03:30:11 +0300
commitbf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch)
tree46018d5b85c669961fb2fe6ab8af06f432139999 /src/resources
parentfdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff)
downloadplus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip
Add missing static keywords
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/memorymanager.h12
-rw-r--r--src/resources/sdlimagehelper.h2
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;
};