From 764d34362ed6a58576d1bb2dd23d9b0b0d10ce0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <3397065-ZehMatt@users.noreply.gitlab.com> Date: Mon, 18 Jul 2022 19:36:41 +0300 Subject: [PATCH] Type forward VFS::Manager in luastate.hpp and l10n.hpp --- components/lua/l10n.cpp | 1 + components/lua/l10n.hpp | 5 +++++ components/lua/luastate.cpp | 1 + components/lua/luastate.hpp | 7 +++++-- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/components/lua/l10n.cpp b/components/lua/l10n.cpp index bd9a9be4c5..996b859157 100644 --- a/components/lua/l10n.cpp +++ b/components/lua/l10n.cpp @@ -3,6 +3,7 @@ #include #include +#include namespace sol { diff --git a/components/lua/l10n.hpp b/components/lua/l10n.hpp index d1de193421..51c8ecad9c 100644 --- a/components/lua/l10n.hpp +++ b/components/lua/l10n.hpp @@ -5,6 +5,11 @@ #include +namespace VFS +{ + class Manager; +} + namespace LuaUtil { diff --git a/components/lua/luastate.cpp b/components/lua/luastate.cpp index b5b0832b98..dbdfde5100 100644 --- a/components/lua/luastate.cpp +++ b/components/lua/luastate.cpp @@ -7,6 +7,7 @@ #include #include +#include namespace LuaUtil { diff --git a/components/lua/luastate.hpp b/components/lua/luastate.hpp index bf947111dc..3bd27f2250 100644 --- a/components/lua/luastate.hpp +++ b/components/lua/luastate.hpp @@ -5,10 +5,13 @@ #include -#include - #include "configuration.hpp" +namespace VFS +{ + class Manager; +} + namespace LuaUtil {