diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-27 16:25:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-27 16:25:42 +0300 |
commit | 8b5ea7b5dadf697086b35b386f79d7b69d5e9215 (patch) | |
tree | fae6cb052e530c39c14deb63bb4969b2e83e8676 /src/resources/resourcemanager.h | |
parent | 663fa298bd411ca08b2d1d5035aefc11c6c54c87 (diff) | |
download | manaverse-8b5ea7b5dadf697086b35b386f79d7b69d5e9215.tar.gz manaverse-8b5ea7b5dadf697086b35b386f79d7b69d5e9215.tar.bz2 manaverse-8b5ea7b5dadf697086b35b386f79d7b69d5e9215.tar.xz manaverse-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.h | 2 |
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(); |