Replace include guards by #pragma once

This commit is contained in:
Twan van Laarhoven
2020-04-26 01:25:16 +02:00
parent bad9981ad9
commit 54a3cbfde3
167 changed files with 167 additions and 670 deletions
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_SCRIPT_FUNCTIONS_FUNCTIONS
#define HEADER_SCRIPT_FUNCTIONS_FUNCTIONS
#pragma once
/** @file script/functions/functions.cpp
*
@@ -41,5 +40,3 @@ inline void init_script_functions(Context& ctx) {
init_script_construction_functions(ctx);
}
// ----------------------------------------------------------------------------- : EOF
#endif
+1 -4
View File
@@ -4,8 +4,7 @@
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_SCRIPT_FUNCTIONS_UTIL
#define HEADER_SCRIPT_FUNCTIONS_UTIL
#pragma once
/** @file script/functions/util.cpp
*
@@ -224,5 +223,3 @@ inline Type from_script(const ScriptValueP& v, Variable var) {
ScriptValueP ScriptRule_##name::dependencies(Context& ctx, const Dependency& dep) const
// ----------------------------------------------------------------------------- : EOF
#endif