summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 18:01:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 18:01:11 +0300
commit490140e0659d3dc99f2b19227410bd279a12fdf6 (patch)
tree9b39abcc3c6493f22e7e881c03342a1acd33402d /src/resources/resourcemanager.h
parent37c4338e84265705ec41c5da03e325255a9bce63 (diff)
downloadmanaverse-490140e0659d3dc99f2b19227410bd279a12fdf6.tar.gz
manaverse-490140e0659d3dc99f2b19227410bd279a12fdf6.tar.bz2
manaverse-490140e0659d3dc99f2b19227410bd279a12fdf6.tar.xz
manaverse-490140e0659d3dc99f2b19227410bd279a12fdf6.zip
Remove useless function ResourceManager::load.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 651142e29..92454c0c7 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -124,17 +124,6 @@ class ResourceManager final : public MemoryCounter
const int variant) A_WARN_UNUSED;
/**
- * Loads a resource from a file and adds it to the resource map.
- *
- * @param path The file name.
- * @param fun A function for parsing the file.
- * @return A valid resource or <code>NULL</code> if the resource could
- * not be loaded.
- */
- Resource *load(const std::string &path,
- const loader fun) A_WARN_UNUSED;
-
- /**
* Adds a preformatted resource to the resource map.
*
* @param path The file name.