From 921151d97a2fb2238ab514324fb95e2732248b96 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Thu, 17 Aug 2017 22:19:39 +0200 Subject: C++ modernize: Pragma once (#6264) * Migrate cpp headers to pragma once --- src/mapgen_v5.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mapgen_v5.h') diff --git a/src/mapgen_v5.h b/src/mapgen_v5.h index 3aaff5878..f5afc3af1 100644 --- a/src/mapgen_v5.h +++ b/src/mapgen_v5.h @@ -18,8 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MAPGEN_V5_HEADER -#define MAPGEN_V5_HEADER +#pragma once #include "mapgen.h" @@ -73,5 +72,3 @@ private: Noise *noise_height; Noise *noise_ground; }; - -#endif -- cgit v1.2.3