aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2014-12-08 09:06:31 +0100
committerKahrl <kahrl@gmx.net>2014-12-08 09:06:31 +0100
commit0183c05ee0ed0c6566a860119ee93cf88ba7d9ee (patch)
tree1d5c58fffbf4a8cd3797c5d84e4e54668f1c6dc3 /src
parent4f23778e53db9bfa67bd9d15033c98f1b14b3202 (diff)
downloadminetest-0183c05ee0ed0c6566a860119ee93cf88ba7d9ee.tar.gz
minetest-0183c05ee0ed0c6566a860119ee93cf88ba7d9ee.tar.bz2
minetest-0183c05ee0ed0c6566a860119ee93cf88ba7d9ee.zip
Fix struct vs. class in forward declarations
Diffstat (limited to 'src')
-rw-r--r--src/mg_decoration.h2
-rw-r--r--src/mg_ore.h2
-rw-r--r--src/rollback.h4
-rw-r--r--src/server.h2
-rw-r--r--src/wieldmesh.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/mg_decoration.h b/src/mg_decoration.h
index c698710b5..3262924b0 100644
--- a/src/mg_decoration.h
+++ b/src/mg_decoration.h
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <set>
#include "mapgen.h"
-class NoiseParams;
+struct NoiseParams;
class Mapgen;
class ManualMapVoxelManipulator;
class PseudoRandom;
diff --git a/src/mg_ore.h b/src/mg_ore.h
index 4bf415734..16fb50cd5 100644
--- a/src/mg_ore.h
+++ b/src/mg_ore.h
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/string.h"
#include "mapgen.h"
-class NoiseParams;
+struct NoiseParams;
class Noise;
class Mapgen;
class ManualMapVoxelManipulator;
diff --git a/src/rollback.h b/src/rollback.h
index 2e6955c8d..c57e38ab0 100644
--- a/src/rollback.h
+++ b/src/rollback.h
@@ -29,8 +29,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class IGameDef;
-class ActionRow;
-class Entity;
+struct ActionRow;
+struct Entity;
class RollbackManager: public IRollbackManager
{
diff --git a/src/server.h b/src/server.h
index 4292892c5..e9cf0a25c 100644
--- a/src/server.h
+++ b/src/server.h
@@ -49,7 +49,7 @@ class Inventory;
class Player;
class PlayerSAO;
class IRollbackManager;
-class RollbackAction;
+struct RollbackAction;
class EmergeManager;
class GameScripting;
class ServerEnvironment;
diff --git a/src/wieldmesh.h b/src/wieldmesh.h
index 3b39dbfac..b7739f18c 100644
--- a/src/wieldmesh.h
+++ b/src/wieldmesh.h
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes_extrabloated.h"
#include <string>
-class ItemStack;
+struct ItemStack;
class IGameDef;
class ITextureSource;
struct TileSpec;