summaryrefslogtreecommitdiffstats
path: root/src/Simulator/RedstoneSimulator.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Simulator/RedstoneSimulator.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Simulator/RedstoneSimulator.h')
-rw-r--r--src/Simulator/RedstoneSimulator.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/Simulator/RedstoneSimulator.h b/src/Simulator/RedstoneSimulator.h
index 86b5b84b3..3443f37be 100644
--- a/src/Simulator/RedstoneSimulator.h
+++ b/src/Simulator/RedstoneSimulator.h
@@ -9,24 +9,19 @@
class cRedstoneSimulatorChunkData
{
-public:
-
- virtual ~cRedstoneSimulatorChunkData()
- {
- }
+ public:
+ virtual ~cRedstoneSimulatorChunkData() {}
};
-class cRedstoneSimulator:
- public cSimulator
+class cRedstoneSimulator : public cSimulator
{
using Super = cSimulator;
-public:
-
+ public:
using Super::Super;
virtual cRedstoneSimulatorChunkData * CreateChunkData() = 0;