From 8b5ea7b5dadf697086b35b386f79d7b69d5e9215 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 27 Jun 2015 16:25:42 +0300 Subject: In resource manager for fun function type use referecne to function. --- src/resources/resourcemanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/resourcemanager.h') 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(); -- cgit v1.2.3-70-g09d2