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_fractal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mapgen_fractal.h') diff --git a/src/mapgen_fractal.h b/src/mapgen_fractal.h index b3f69cb78..a83c5b317 100644 --- a/src/mapgen_fractal.h +++ b/src/mapgen_fractal.h @@ -21,8 +21,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_FRACTAL_HEADER -#define MAPGEN_FRACTAL_HEADER +#pragma once #include "mapgen.h" @@ -86,5 +85,3 @@ private: float julia_w; Noise *noise_seabed; }; - -#endif -- cgit v1.2.3