std::shared_ptr not boost::shared_ptr
This commit is contained in:
parent
fa4b3c18d2
commit
599ff78539
|
|
@ -4,7 +4,6 @@
|
|||
#include <App/V8/Tree/ModelInstance.hpp>
|
||||
|
||||
#include <OGRE/Ogre.h>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -29,6 +28,6 @@ namespace RNR
|
|||
Ogre::InstanceManager* m_instMan;
|
||||
Ogre::SceneNode* m_worldspawn;
|
||||
|
||||
boost::shared_ptr<Camera> currentCamera;
|
||||
std::shared_ptr<Camera> currentCamera;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ namespace RNR
|
|||
{
|
||||
if (newCamera != currentCamera.get())
|
||||
{
|
||||
currentCamera = boost::shared_ptr<Camera>(newCamera);
|
||||
currentCamera = std::shared_ptr<Camera>(newCamera);
|
||||
|
||||
// TODO: raise propertyChanged and currentCameraChangedSignal
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue