diff --git a/Components/Bites/include/OgreApplicationContextBase.h b/Components/Bites/include/OgreApplicationContextBase.h index 6df85ab3e46..7b3c4bc5a86 100644 --- a/Components/Bites/include/OgreApplicationContextBase.h +++ b/Components/Bites/include/OgreApplicationContextBase.h @@ -303,7 +303,7 @@ namespace OgreBites Ogre::OverlaySystem* mOverlaySystem; // Overlay system - Ogre::FileSystemLayer* mFSLayer; // File system abstraction layer + std::unique_ptr mFSLayer; // File system abstraction layer Ogre::Root* mRoot; // OGRE root StaticPluginLoader mStaticPluginLoader; bool mFirstRun;