mirror of https://github.com/microsoft/vcpkg.git
14 lines
598 B
Diff
14 lines
598 B
Diff
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 <class V> struct rebind { typedef AllocatorWithCleanup<V, T_Align16> other; };
|
|
-#if (CRYPTOPP_MSC_VERSION >= 1500)
|
|
+#if (CRYPTOPP_MSC_VERSION >= 1500) || defined(__clang__)
|
|
AllocatorWithCleanup() {}
|
|
template <class V, bool A> AllocatorWithCleanup(const AllocatorWithCleanup<V, A> &) {}
|
|
#endif
|