From f707ac1adbc9271e1bd1dcadc8d5598da3c0a5be Mon Sep 17 00:00:00 2001 From: Orange Date: Tue, 10 Mar 2026 18:04:31 +0300 Subject: [PATCH] fixed forward decl --- include/omath/lua/lua.hpp | 4 +--- source/lua/lua_engines.cpp | 4 ---- source/lua/lua_vec2.cpp | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/include/omath/lua/lua.hpp b/include/omath/lua/lua.hpp index b2112bb..8fd9f46 100644 --- a/include/omath/lua/lua.hpp +++ b/include/omath/lua/lua.hpp @@ -3,9 +3,7 @@ // #pragma once #ifdef OMATH_ENABLE_LUA -// ReSharper disable once CppInconsistentNaming -struct lua_State; - +#include namespace omath::lua { void register_lib(lua_State* lua_state); diff --git a/source/lua/lua_engines.cpp b/source/lua/lua_engines.cpp index 2a24c26..db8200b 100644 --- a/source/lua/lua_engines.cpp +++ b/source/lua/lua_engines.cpp @@ -2,7 +2,6 @@ // Created by orange on 07.03.2026. // #ifdef OMATH_ENABLE_LUA -#include "omath/lua/lua.hpp" #include #include #include @@ -18,9 +17,6 @@ #include #include #include -#include -#include -#include #include namespace diff --git a/source/lua/lua_vec2.cpp b/source/lua/lua_vec2.cpp index ce5614f..fc5c146 100644 --- a/source/lua/lua_vec2.cpp +++ b/source/lua/lua_vec2.cpp @@ -2,7 +2,6 @@ // Created by orange on 07.03.2026. // #ifdef OMATH_ENABLE_LUA -#include "omath/lua/lua.hpp" #include #include