summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-27 16:25:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-27 16:25:42 +0300
commit8b5ea7b5dadf697086b35b386f79d7b69d5e9215 (patch)
treefae6cb052e530c39c14deb63bb4969b2e83e8676 /src/resources/resourcemanager.h
parent663fa298bd411ca08b2d1d5035aefc11c6c54c87 (diff)
downloadplus-8b5ea7b5dadf697086b35b386f79d7b69d5e9215.tar.gz
plus-8b5ea7b5dadf697086b35b386f79d7b69d5e9215.tar.bz2
plus-8b5ea7b5dadf697086b35b386f79d7b69d5e9215.tar.xz
plus-8b5ea7b5dadf697086b35b386f79d7b69d5e9215.zip
In resource manager for fun function type use referecne to function.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index afe158d78..91456460d 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -51,7 +51,7 @@ class ResourceManager final
public:
typedef Resource *(*loader)(SDL_RWops *);
- typedef Resource *(*generator)(const void *const);
+ typedef Resource *(&generator)(const void *const);
ResourceManager();