summaryrefslogtreecommitdiff
path: root/game/objectives
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/objectives
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/objectives')
-rw-r--r--game/objectives/freeroam.h5
-rw-r--r--game/objectives/goto.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/game/objectives/freeroam.h b/game/objectives/freeroam.h
index 2cfdcfc..ef74eb7 100644
--- a/game/objectives/freeroam.h
+++ b/game/objectives/freeroam.h
@@ -1,5 +1,4 @@
-#ifndef FREEROAM_H
-#define FREEROAM_H
+#pragma once
#include <game/activity.h>
#include <game/network/link.h>
@@ -12,5 +11,3 @@ public:
[[nodiscard]] ActivityPtr createActivity() const override;
[[nodiscard]] Link::Next navigate(Link::Nexts::const_iterator, Link::Nexts::const_iterator) const override;
};
-
-#endif
diff --git a/game/objectives/goto.h b/game/objectives/goto.h
index 01e47ae..acd5e48 100644
--- a/game/objectives/goto.h
+++ b/game/objectives/goto.h
@@ -1,5 +1,4 @@
-#ifndef GOTO_H
-#define GOTO_H
+#pragma once
#include <game/activity.h>
#include <game/network/link.h>
@@ -18,5 +17,3 @@ private:
Link::Nexts links;
float startDist;
};
-
-#endif