aboutsummaryrefslogtreecommitdiff
path: root/src/script/scripting_server.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-08-17 22:19:39 +0200
committerGitHub <noreply@github.com>2017-08-17 22:19:39 +0200
commit921151d97a2fb2238ab514324fb95e2732248b96 (patch)
tree0723ab1f2c4df22492b4c2221d2974020d4dfd3d /src/script/scripting_server.h
parentc738d1eeabbbe9164a25f6b69bc7ec1a3b44b051 (diff)
downloadminetest-921151d97a2fb2238ab514324fb95e2732248b96.tar.xz
C++ modernize: Pragma once (#6264)
* Migrate cpp headers to pragma once
Diffstat (limited to 'src/script/scripting_server.h')
-rw-r--r--src/script/scripting_server.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/script/scripting_server.h b/src/script/scripting_server.h
index fd97ea40b..b549a1bc9 100644
--- a/src/script/scripting_server.h
+++ b/src/script/scripting_server.h
@@ -17,9 +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 SERVER_SCRIPTING_H_
-#define SERVER_SCRIPTING_H_
-
+#pragma once
#include "cpp_api/s_base.h"
#include "cpp_api/s_entity.h"
#include "cpp_api/s_env.h"
@@ -53,5 +51,3 @@ private:
};
void log_deprecated(const std::string &message);
-
-#endif /* SCRIPTING_GAME_H_ */