summaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cpp_api/s_internal.h')
-rw-r--r--src/script/cpp_api/s_internal.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/script/cpp_api/s_internal.h b/src/script/cpp_api/s_internal.h
index b493cb6fa..fc049f922 100644
--- a/src/script/cpp_api/s_internal.h
+++ b/src/script/cpp_api/s_internal.h
@@ -24,8 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/******************************************************************************/
/******************************************************************************/
-#ifndef S_INTERNAL_H_
-#define S_INTERNAL_H_
+#pragma once
#include <thread>
#include "common/c_internal.h"
@@ -84,6 +83,3 @@ private:
lua_State *L = getStack(); \
assert(lua_checkstack(L, 20)); \
StackUnroller stack_unroller(L);
-
-#endif /* S_INTERNAL_H_ */
-