summaryrefslogtreecommitdiffstats
path: root/src/Blocks/GetHandlerCompileTimeTemplate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/GetHandlerCompileTimeTemplate.h')
-rw-r--r--src/Blocks/GetHandlerCompileTimeTemplate.h34
1 files changed, 13 insertions, 21 deletions
diff --git a/src/Blocks/GetHandlerCompileTimeTemplate.h b/src/Blocks/GetHandlerCompileTimeTemplate.h
index deebd4030..519c60018 100644
--- a/src/Blocks/GetHandlerCompileTimeTemplate.h
+++ b/src/Blocks/GetHandlerCompileTimeTemplate.h
@@ -12,17 +12,15 @@ class cBlockPistonHandler;
-template<BLOCKTYPE T>
-class GetHandlerCompileTime;
+template <BLOCKTYPE T> class GetHandlerCompileTime;
-template<>
-class GetHandlerCompileTime<E_BLOCK_TORCH>
+template <> class GetHandlerCompileTime<E_BLOCK_TORCH>
{
-public:
+ public:
typedef cBlockTorchHandler type;
};
@@ -30,10 +28,9 @@ public:
-template<>
-class GetHandlerCompileTime<E_BLOCK_LEVER>
+template <> class GetHandlerCompileTime<E_BLOCK_LEVER>
{
-public:
+ public:
typedef cBlockLeverHandler type;
};
@@ -41,10 +38,9 @@ public:
-template<>
-class GetHandlerCompileTime<E_BLOCK_STONE_BUTTON>
+template <> class GetHandlerCompileTime<E_BLOCK_STONE_BUTTON>
{
-public:
+ public:
typedef cBlockButtonHandler type;
};
@@ -52,10 +48,9 @@ public:
-template<>
-class GetHandlerCompileTime<E_BLOCK_TRIPWIRE_HOOK>
+template <> class GetHandlerCompileTime<E_BLOCK_TRIPWIRE_HOOK>
{
-public:
+ public:
typedef cBlockTripwireHookHandler type;
};
@@ -63,10 +58,9 @@ public:
-template<>
-class GetHandlerCompileTime<E_BLOCK_WOODEN_DOOR>
+template <> class GetHandlerCompileTime<E_BLOCK_WOODEN_DOOR>
{
-public:
+ public:
typedef cBlockDoorHandler type;
};
@@ -74,10 +68,8 @@ public:
-template<>
-class GetHandlerCompileTime<E_BLOCK_PISTON>
+template <> class GetHandlerCompileTime<E_BLOCK_PISTON>
{
-public:
+ public:
typedef cBlockPistonHandler type;
};
-