summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-29 21:16:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-30 14:43:34 +0300
commit9a39234015f092c5eb0f461da91689e71bf43943 (patch)
treee798f45bc08f3015020972a2db0f015eb8cc0c42 /src/resources
parent23a3e48c33b14cc0bda0eb3fda361961e8d6172c (diff)
downloadplus-9a39234015f092c5eb0f461da91689e71bf43943.tar.gz
plus-9a39234015f092c5eb0f461da91689e71bf43943.tar.bz2
plus-9a39234015f092c5eb0f461da91689e71bf43943.tar.xz
plus-9a39234015f092c5eb0f461da91689e71bf43943.zip
Fix code style.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.cpp2
-rw-r--r--src/resources/resourcemanager.h3
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;