From d307178683b03c88e82393de79283c27b33df1d0 Mon Sep 17 00:00:00 2001 From: elsid Date: Mon, 18 Jul 2022 20:49:50 +0200 Subject: [PATCH] Replace components/vfs/manager.hpp include by forward declaration --- components/myguiplatform/myguidatamanager.cpp | 6 ++---- components/myguiplatform/myguidatamanager.hpp | 5 ++++- components/myguiplatform/myguiplatform.hpp | 6 ++++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/components/myguiplatform/myguidatamanager.cpp b/components/myguiplatform/myguidatamanager.cpp index 70af0774f7..5e66a59965 100644 --- a/components/myguiplatform/myguidatamanager.cpp +++ b/components/myguiplatform/myguidatamanager.cpp @@ -2,13 +2,11 @@ #include #include +#include #include -#include -#include - -#include +#include namespace { diff --git a/components/myguiplatform/myguidatamanager.hpp b/components/myguiplatform/myguidatamanager.hpp index 281aedd137..4e152b69bc 100644 --- a/components/myguiplatform/myguidatamanager.hpp +++ b/components/myguiplatform/myguidatamanager.hpp @@ -5,7 +5,10 @@ #include -#include +namespace VFS +{ + class Manager; +} namespace osgMyGUI { diff --git a/components/myguiplatform/myguiplatform.hpp b/components/myguiplatform/myguiplatform.hpp index 2428412dc3..666dde8a84 100644 --- a/components/myguiplatform/myguiplatform.hpp +++ b/components/myguiplatform/myguiplatform.hpp @@ -4,8 +4,6 @@ #include #include -#include - namespace osgViewer { class Viewer; @@ -22,6 +20,10 @@ namespace MyGUI { class LogManager; } +namespace VFS +{ + class Manager; +} namespace osgMyGUI {