std::shared_ptr not boost::shared_ptr

This commit is contained in:
sorket 2023-07-15 21:18:47 -04:00
parent fa4b3c18d2
commit 599ff78539
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@
#include <App/V8/Tree/ModelInstance.hpp> #include <App/V8/Tree/ModelInstance.hpp>
#include <OGRE/Ogre.h> #include <OGRE/Ogre.h>
#include <boost/shared_ptr.hpp>
#include <vector> #include <vector>
@ -29,6 +28,6 @@ namespace RNR
Ogre::InstanceManager* m_instMan; Ogre::InstanceManager* m_instMan;
Ogre::SceneNode* m_worldspawn; Ogre::SceneNode* m_worldspawn;
boost::shared_ptr<Camera> currentCamera; std::shared_ptr<Camera> currentCamera;
}; };
} }

View File

@ -73,7 +73,7 @@ namespace RNR
{ {
if (newCamera != currentCamera.get()) if (newCamera != currentCamera.get())
{ {
currentCamera = boost::shared_ptr<Camera>(newCamera); currentCamera = std::shared_ptr<Camera>(newCamera);
// TODO: raise propertyChanged and currentCameraChangedSignal // TODO: raise propertyChanged and currentCameraChangedSignal
} }