summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/sol2/test_stack_guard.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/sol2/test_stack_guard.hpp')
-rw-r--r--3rdparty/sol2/test_stack_guard.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/3rdparty/sol2/test_stack_guard.hpp b/3rdparty/sol2/test_stack_guard.hpp
deleted file mode 100644
index d77ffb8b682..00000000000
--- a/3rdparty/sol2/test_stack_guard.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#pragma once
-
-struct test_stack_guard {
- lua_State* L;
- int& begintop;
- int& endtop;
- test_stack_guard(lua_State* L, int& begintop, int& endtop) : L(L), begintop(begintop), endtop(endtop) {
- begintop = lua_gettop(L);
- }
- ~test_stack_guard() { endtop = lua_gettop(L); }
-};