From 3e61a88abbb56e6923492069499c471f82640983 Mon Sep 17 00:00:00 2001 From: LePresidente Date: Mon, 12 Dec 2016 05:13:08 -0800 Subject: [PATCH] added if statement to allow to build on msvc2013 --- src/runner/proxypluginwrappers.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/runner/proxypluginwrappers.cpp b/src/runner/proxypluginwrappers.cpp index 2cf654f..104575b 100644 --- a/src/runner/proxypluginwrappers.cpp +++ b/src/runner/proxypluginwrappers.cpp @@ -6,7 +6,8 @@ namespace boost { - // See bug https://connect.microsoft.com/VisualStudio/Feedback/Details/2852624 + // See bug https://connect.microsoft.com/VisualStudio/Feedback/Details/2852624 +#if (_MSC_VER == 1900) template<> const volatile MOBase::IOrganizer* get_pointer(const volatile MOBase::IOrganizer* p) { return p; } template<> const volatile MOBase::IModInterface* get_pointer(const volatile MOBase::IModInterface* p) { return p; } template<> const volatile MOBase::IPluginGame* get_pointer(const volatile MOBase::IPluginGame* p) { return p; } @@ -15,6 +16,7 @@ namespace boost template<> const volatile MOBase::IPluginList* get_pointer(const volatile MOBase::IPluginList* p) { return p; } template<> const volatile MOBase::IDownloadManager* get_pointer(const volatile MOBase::IDownloadManager* p) { return p; } template<> const volatile MOBase::IModRepositoryBridge* get_pointer(const volatile MOBase::IModRepositoryBridge* p) { return p; } +#endif } using namespace MOBase;