Fix struct vs. class in forward declarations
authorKahrl <kahrl@gmx.net>
Mon, 8 Dec 2014 08:06:31 +0000 (09:06 +0100)
committerKahrl <kahrl@gmx.net>
Mon, 8 Dec 2014 08:06:31 +0000 (09:06 +0100)
src/mg_decoration.h
src/mg_ore.h
src/rollback.h
src/server.h
src/wieldmesh.h

index c698710b5343d38c383c0b8bf1970f7257c33aef..3262924b02f1e2700096fcc99400bade177a9bf2 100644 (file)
@@ -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;
index 4bf415734af3f0c40c315dc28c38f46333833d10..16fb50cd548275443d2159484235da6187979fd5 100644 (file)
@@ -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;
index 2e6955c8d40bc1fd049b558ede0feb3f653a52d0..c57e38ab0bbc7330c1b78dd0cbb07a1c7726801a 100644 (file)
@@ -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
 {
index 4292892c507b149c4e32c041c70ee8ea696207df..e9cf0a25c984ddadef2e28382ed1d2ebaca048db 100644 (file)
@@ -49,7 +49,7 @@ class Inventory;
 class Player;
 class PlayerSAO;
 class IRollbackManager;
-class RollbackAction;
+struct RollbackAction;
 class EmergeManager;
 class GameScripting;
 class ServerEnvironment;
index 3b39dbfac3820d6eb9dc9b8e6ab680d57a731010..b7739f18c05b45b2f0baaadf501d84d2040f7a43 100644 (file)
@@ -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;