Navigation Menu

Skip to content

Commit

Permalink
Fix struct vs. class in forward declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
kahrl committed Dec 8, 2014
1 parent 4f23778 commit 0183c05
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/mg_decoration.h
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/mg_ore.h
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/rollback.h
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/server.h
Expand Up @@ -49,7 +49,7 @@ class Inventory;
class Player;
class PlayerSAO;
class IRollbackManager;
class RollbackAction;
struct RollbackAction;
class EmergeManager;
class GameScripting;
class ServerEnvironment;
Expand Down
2 changes: 1 addition & 1 deletion src/wieldmesh.h
Expand Up @@ -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;
Expand Down

0 comments on commit 0183c05

Please sign in to comment.