summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/scoped_allocator2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/scoped_allocator b/libcxx/include/scoped_allocator
index 22e3a30847e..cd4987ad9bb 100644
--- a/libcxx/include/scoped_allocator
+++ b/libcxx/include/scoped_allocator
@@ -183,7 +183,7 @@ template <class _A0, class ..._Allocs>
struct __get_is_always_equal<_A0, _Allocs...>
{
static const bool value =
- allocator_traits<_A0>::is_always_equal::value ||
+ allocator_traits<_A0>::is_always_equal::value &&
__get_is_always_equal<_Allocs...>::value;
};
OpenPOWER on IntegriCloud