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/activities/go.h | 5 +---- game/activities/idle.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'game/activities') 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 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 { public: }; - -#endif -- cgit v1.2.3