diff options
Diffstat (limited to 'unit_tests/init_and_shutdown.cpp')
-rw-r--r-- | unit_tests/init_and_shutdown.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/unit_tests/init_and_shutdown.cpp b/unit_tests/init_and_shutdown.cpp index 78c472f..147a742 100644 --- a/unit_tests/init_and_shutdown.cpp +++ b/unit_tests/init_and_shutdown.cpp | |||
@@ -756,11 +756,6 @@ TEST_CASE("lanes.on_state_create setting") | |||
756 | LuaState S{ LuaState::WithBaseLibs{ true }, LuaState::WithFixture{ false } }; | 756 | LuaState S{ LuaState::WithBaseLibs{ true }, LuaState::WithFixture{ false } }; |
757 | 757 | ||
758 | local::OnStateCreateCallsCount.store(0, std::memory_order_relaxed); | 758 | local::OnStateCreateCallsCount.store(0, std::memory_order_relaxed); |
759 | auto on_state_create = +[](lua_State* const L_) { | ||
760 | local::OnStateCreateCallsCount.fetch_add(1, std::memory_order_relaxed); | ||
761 | return 0; | ||
762 | }; | ||
763 | |||
764 | 759 | ||
765 | SECTION("on_state_create called in Keeper states") | 760 | SECTION("on_state_create called in Keeper states") |
766 | { | 761 | { |