From 17fd66f2ff23253f9e713a1bff8fd2723ea5735e Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 30 Jul 2015 13:43:55 -0400 Subject: [PATCH] Visual Studio 2010 (v16.00) does not accept the template type alias. Bump to VS2012 (v17.00). Lather, rinse, repeat until we determine when... --- smartptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartptr.h b/smartptr.h index e05a15f1..b1e2a4a9 100644 --- a/smartptr.h +++ b/smartptr.h @@ -11,7 +11,7 @@ NAMESPACE_BEGIN(CryptoPP) // test for unique_ptr directly because some of the non-Apple Clangs on OS X fail the same // way. However, modern standard libraries have , so we test for it instead. // Thanks to Jonathan Wakely for devising the clever test for modern/ancient versions. -#if (__cplusplus >= 201103L) || (_MSC_VER >= 1600) +#if (__cplusplus >= 201103L) || (_MSC_VER >= 1700) # if defined(__clang__) # if (__has_include()) # define CRYPTOPP_HAVE_UNIQUE_PTR 1