From 9a39234015f092c5eb0f461da91689e71bf43943 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Jun 2015 21:16:55 +0300 Subject: Fix code style. --- src/resources/resourcemanager.cpp | 2 +- src/resources/resourcemanager.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/resources') 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 NULL 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; -- cgit v1.2.3-70-g09d2