From 8c630328656e1a7e5d8672d59b21c1dfa8ee6733 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 30 Jul 2015 11:24:41 -0400 Subject: Cleared "name defined in alias declaration must be an identifier" error under LLVM's libc++ and C++11 --- smartptr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'smartptr.h') diff --git a/smartptr.h b/smartptr.h index 5b275c2b..20efd815 100644 --- a/smartptr.h +++ b/smartptr.h @@ -11,7 +11,6 @@ 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 defined(__clang__) # if (__has_include()) @@ -25,7 +24,7 @@ NAMESPACE_BEGIN(CryptoPP) // The result of below is a CryptoPP::auto_ptr in both cases #ifdef CRYPTOPP_HAVE_UNIQUE_PTR template - using std::auto_ptr = std::unique_ptr; + using auto_ptr = std::unique_ptr; #else using std::auto_ptr; #endif -- cgit v1.2.1