From 9ee47e59995f858ec531b3ee467f131594e4ba1f Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 13 Apr 2020 18:38:06 +0200 Subject: Using Super. --- src/Simulator/IncrementalRedstoneSimulator/RedstoneToggleHandler.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Simulator/IncrementalRedstoneSimulator/RedstoneToggleHandler.h') diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneToggleHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneToggleHandler.h index ad64f76db..c56b09c7b 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneToggleHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneToggleHandler.h @@ -9,9 +9,11 @@ -class cRedstoneToggleHandler : public cRedstoneHandler +class cRedstoneToggleHandler: + public cRedstoneHandler { - typedef cRedstoneHandler super; + using Super = cRedstoneHandler; + public: inline static Vector3i GetPositionAttachedTo(Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta) -- cgit v1.2.3