summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 01:42:53 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 01:43:55 +0100
commit1715d0afe44a282a356ca88e47c92ec556f094dd (patch)
tree36dcaa69dcf0165c33d7da1c1cc1a9f5fb7e228f /src/resources/itemdb.h
parent511d9ac780e094767e806c9a448ac973279dd4c8 (diff)
downloadmana-1715d0afe44a282a356ca88e47c92ec556f094dd.tar.gz
mana-1715d0afe44a282a356ca88e47c92ec556f094dd.tar.bz2
mana-1715d0afe44a282a356ca88e47c92ec556f094dd.tar.xz
mana-1715d0afe44a282a356ca88e47c92ec556f094dd.zip
Fixed include structure in resource/ directory
There is also a new rule that trivial constructors and destructors should no longer be trivially "documented", since this just takes up space with no gain.
Diffstat (limited to 'src/resources/itemdb.h')
-rw-r--r--src/resources/itemdb.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h
index 68f3b039..aa5edab5 100644
--- a/src/resources/itemdb.h
+++ b/src/resources/itemdb.h
@@ -23,8 +23,7 @@
#define ITEM_MANAGER_H
#include <map>
-
-#include "iteminfo.h"
+#include <string>
class ItemInfo;
@@ -43,8 +42,8 @@ namespace ItemDB
*/
void unload();
- const ItemInfo& get(int id);
- const ItemInfo& get(const std::string &name);
+ const ItemInfo &get(int id);
+ const ItemInfo &get(const std::string &name);
// Items database
typedef std::map<int, ItemInfo*> ItemInfos;