diff options
Diffstat (limited to 'engines/sword25/gfx/renderobjectregistry.h')
-rw-r--r-- | engines/sword25/gfx/renderobjectregistry.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sword25/gfx/renderobjectregistry.h b/engines/sword25/gfx/renderobjectregistry.h index ff2ba57316..cf736346b4 100644 --- a/engines/sword25/gfx/renderobjectregistry.h +++ b/engines/sword25/gfx/renderobjectregistry.h @@ -42,9 +42,7 @@ #include "sword25/kernel/common.h" #include "sword25/kernel/objectregistry.h" -#include "sword25/kernel/memlog_off.h" -#include <memory> -#include "sword25/kernel/memlog_on.h" +#include "common/ptr.h" namespace Sword25 { @@ -71,7 +69,7 @@ private: virtual void LogErrorLn(const char *Message) const; virtual void LogWarningLn(const char *Message) const; - static std::auto_ptr<RenderObjectRegistry> m_InstancePtr; + static Common::ScopedPtr<RenderObjectRegistry> m_InstancePtr; }; } // End of namespace Sword25 |