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/script/lua_api/l_metadata.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/script/lua_api/l_metadata.h') diff --git a/src/script/lua_api/l_metadata.h b/src/script/lua_api/l_metadata.h index a479e64b0..5a7c7e7f7 100644 --- a/src/script/lua_api/l_metadata.h +++ b/src/script/lua_api/l_metadata.h @@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef L_METADATA_H_ -#define L_METADATA_H_ + +#pragma once #include "irrlichttypes_bloated.h" #include "lua_api/l_base.h" @@ -72,5 +72,3 @@ protected: // equals(self, other) static int l_equals(lua_State *L); }; - -#endif /* L_NODEMETA_H_ */ -- cgit v1.2.3