summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
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;
};