diff --git a/secblock.h b/secblock.h index 5ab920f9..74d939cf 100644 --- a/secblock.h +++ b/secblock.h @@ -270,7 +270,7 @@ public: /// \details VS.NET STL enforces the policy of "All STL-compliant allocators /// have to provide a template class member called rebind". template struct rebind { typedef AllocatorWithCleanup other; }; -#if (CRYPTOPP_MSC_VERSION >= 1500) +#if (CRYPTOPP_MSC_VERSION >= 1500) || defined(__clang__) AllocatorWithCleanup() {} template AllocatorWithCleanup(const AllocatorWithCleanup &) {} #endif