summaryrefslogtreecommitdiff
path: root/game/activities
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-02 19:55:40 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-02 19:55:40 +0000
commitb5b9c95de160a97701777d37187de194d0b29e61 (patch)
tree9acc47919f90b119ee6029266f565bd33e0c3630 /game/activities
parentSeparate geographic data (GeoData) from its visual representation(s) (Terrain) (diff)
downloadilt-b5b9c95de160a97701777d37187de194d0b29e61.tar.bz2
ilt-b5b9c95de160a97701777d37187de194d0b29e61.tar.xz
ilt-b5b9c95de160a97701777d37187de194d0b29e61.zip
Replace include guard macros with pragma once
Diffstat (limited to 'game/activities')
-rw-r--r--game/activities/go.h5
-rw-r--r--game/activities/idle.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/game/activities/go.h b/game/activities/go.h
index 54af31b..701c13c 100644
--- a/game/activities/go.h
+++ b/game/activities/go.h
@@ -1,5 +1,4 @@
-#ifndef GO_H
-#define GO_H
+#pragma once
#include "../activity.h"
#include "../activityOf.h"
@@ -12,5 +11,3 @@ public:
std::optional<float> dist;
};
-
-#endif
diff --git a/game/activities/idle.h b/game/activities/idle.h
index 902d014..fa9067d 100644
--- a/game/activities/idle.h
+++ b/game/activities/idle.h
@@ -1,10 +1,7 @@
-#ifndef IDLE_H
-#define IDLE_H
+#pragma once
#include "../activityOf.h"
class Idle : public Activity::Of<Idle> {
public:
};
-
-#endif