diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 | ||||
-rw-r--r-- | src/resources/resourcemanager.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 55ef60dc7..0c0a5bd7c 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -464,7 +464,7 @@ Resource *ResourceManager::getFromCache(const std::string &idPath) } Resource *ResourceManager::get(const std::string &idPath, - const generator fun, + generator fun, const void *const data) { #ifndef DISABLE_RESOURCE_CACHING diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 91456460d..cb55f4d6e 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -109,7 +109,8 @@ class ResourceManager final * @return A valid resource or <code>NULL</code> if the resource could * not be generated. */ - Resource *get(const std::string &idPath, const generator fun, + Resource *get(const std::string &idPath, + generator fun, const void *const data) A_WARN_UNUSED; Resource *getFromCache(const std::string &idPath) A_WARN_UNUSED; |