From 921151d97a2fb2238ab514324fb95e2732248b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Thu, 17 Aug 2017 22:19:39 +0200 Subject: C++ modernize: Pragma once (#6264) * Migrate cpp headers to pragma once --- src/subgame.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/subgame.h') diff --git a/src/subgame.h b/src/subgame.h index dda249a98..8c21973ea 100644 --- a/src/subgame.h +++ b/src/subgame.h @@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef SUBGAME_HEADER -#define SUBGAME_HEADER +#pragma once #include #include @@ -99,6 +98,3 @@ std::vector getAvailableWorlds(); // loads the subgame's config and creates world directory // and world.mt if they don't exist bool loadGameConfAndInitWorld(const std::string &path, const SubgameSpec &gamespec); - -#endif - -- cgit v1.2.3