diff options
Diffstat (limited to 'source/gameengine/VideoTexture/PyTypeList.h')
-rw-r--r-- | source/gameengine/VideoTexture/PyTypeList.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/VideoTexture/PyTypeList.h b/source/gameengine/VideoTexture/PyTypeList.h index a8716e72e14..ce0eb81e656 100644 --- a/source/gameengine/VideoTexture/PyTypeList.h +++ b/source/gameengine/VideoTexture/PyTypeList.h @@ -66,7 +66,11 @@ public: protected: /// pointer to list of types +#if (__cplusplus > 199711L) /* || (defined(_MSC_VER) && _MSC_VER >= 1800) */ + std::unique_ptr<PyTypeListType> m_list; +#else std::auto_ptr<PyTypeListType> m_list; +#endif }; |