From 40950a4b0eb5aebbd77a26dab8859ff4d4f26b93 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 25 Nov 2014 12:00:35 -0800 Subject: [PATCH] Workaround missing unique_ptr on Symbian. Arg. --- UI/GameInfoCache.cpp | 4 ++++ UI/NativeApp.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/UI/GameInfoCache.cpp b/UI/GameInfoCache.cpp index a8d18e5cc4..210f8d121a 100644 --- a/UI/GameInfoCache.cpp +++ b/UI/GameInfoCache.cpp @@ -38,6 +38,10 @@ #include "Core/Config.h" #include "UI/GameInfoCache.h" +#ifdef __SYMBIAN32__ +#define unique_ptr auto_ptr +#endif + GameInfoCache g_gameInfoCache; bool GameInfo::DeleteGame() { diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 3e2f8ff530..7bfe4fe7a7 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -96,6 +96,10 @@ #include "Common/KeyMap.h" #endif +#ifdef __SYMBIAN32__ +#define unique_ptr auto_ptr +#endif + // The new UI framework, for initialization static UI::Theme ui_theme;