From b5b9c95de160a97701777d37187de194d0b29e61 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 2 Jan 2022 19:55:40 +0000 Subject: Replace include guard macros with pragma once --- game/objectives/freeroam.h | 5 +---- game/objectives/goto.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'game/objectives') 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 #include @@ -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 #include @@ -18,5 +17,3 @@ private: Link::Nexts links; float startDist; }; - -#endif -- cgit v1.2.3