Fix struct vs. class in forward declarations

This commit is contained in:
Kahrl 2014-12-08 09:06:31 +01:00
parent 4f23778e53
commit 0183c05ee0
5 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <set> #include <set>
#include "mapgen.h" #include "mapgen.h"
class NoiseParams; struct NoiseParams;
class Mapgen; class Mapgen;
class ManualMapVoxelManipulator; class ManualMapVoxelManipulator;
class PseudoRandom; class PseudoRandom;

View File

@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/string.h" #include "util/string.h"
#include "mapgen.h" #include "mapgen.h"
class NoiseParams; struct NoiseParams;
class Noise; class Noise;
class Mapgen; class Mapgen;
class ManualMapVoxelManipulator; class ManualMapVoxelManipulator;

View File

@ -29,8 +29,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class IGameDef; class IGameDef;
class ActionRow; struct ActionRow;
class Entity; struct Entity;
class RollbackManager: public IRollbackManager class RollbackManager: public IRollbackManager
{ {

View File

@ -49,7 +49,7 @@ class Inventory;
class Player; class Player;
class PlayerSAO; class PlayerSAO;
class IRollbackManager; class IRollbackManager;
class RollbackAction; struct RollbackAction;
class EmergeManager; class EmergeManager;
class GameScripting; class GameScripting;
class ServerEnvironment; class ServerEnvironment;

View File

@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes_extrabloated.h" #include "irrlichttypes_extrabloated.h"
#include <string> #include <string>
class ItemStack; struct ItemStack;
class IGameDef; class IGameDef;
class ITextureSource; class ITextureSource;
struct TileSpec; struct TileSpec;