summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-11-14 18:40:41 +0100
committerPerttu Ahola <celeron55@gmail.com>2011-12-01 10:39:47 +0200
commit96c30452f9d2e6085769baa5befbcbcf62a507c4 (patch)
treec553750e145bc43814e1a078b646c3c259ff94d4 /src/inventory.h
parent4d0f227c7074047897957a88784a36dd77f7bad7 (diff)
downloadminetest-96c30452f9d2e6085769baa5befbcbcf62a507c4.tar.gz
minetest-96c30452f9d2e6085769baa5befbcbcf62a507c4.tar.bz2
minetest-96c30452f9d2e6085769baa5befbcbcf62a507c4.zip
Fix structs being declared as classes
Some compilers complain when a class is declared as a struct or vice versa. Fix by making sure that the correct tag is used both in declaration and definition.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index a303fa0de..24591f33f 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class ServerActiveObject;
class ServerEnvironment;
-class PointedThing;
+struct PointedThing;
class ITextureSource;
class IGameDef;