summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 92454c0c7..eeda43b33 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -54,7 +54,8 @@ class ResourceManager final : public MemoryCounter
friend class Resource;
public:
- typedef Resource *(*loader)(SDL_RWops *rw);
+ typedef Resource *(*loader)(SDL_RWops *rw,
+ const std::string &name);
typedef Resource *(&generator)(const void *const data);
ResourceManager();