Skip to content

Commit 418cdd7

Browse files
author
Advenam Tacet
committed
C++03 fix
1 parent d55a13c commit 418cdd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libcxx/include/deque

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ private:
10121012
_LIBCPP_HIDE_FROM_ABI void __annotate_delete() const _NOEXCEPT {
10131013
#ifndef _LIBCPP_HAS_NO_ASAN
10141014
// The default allocator does not require unpoisoning before returning memory.
1015-
if _LIBCPP_CONSTEXPR (is_same<allocator_type, allocator<_Tp>>::value)
1015+
if _LIBCPP_CONSTEXPR (is_same<allocator_type, allocator<_Tp> >::value)
10161016
return;
10171017
if (empty()) {
10181018
for (size_t __i = 0; __i < __map_.size(); ++__i) {

libcxx/include/string

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,7 @@ private:
19131913
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __annotate_delete() const _NOEXCEPT {
19141914
#if !defined(_LIBCPP_HAS_NO_ASAN) && defined(_LIBCPP_INSTRUMENTED_WITH_ASAN)
19151915
// The default allocator does not require unpoisoning before returning memory.
1916-
if _LIBCPP_CONSTEXPR (!is_same<allocator_type, allocator<__default_allocator_type>>::value)
1916+
if _LIBCPP_CONSTEXPR (!is_same<allocator_type, allocator<__default_allocator_type> >::value)
19171917
if (!__libcpp_is_constant_evaluated() && (__asan_short_string_is_annotated() || __is_long()))
19181918
__annotate_contiguous_container(data() + size() + 1, data() + capacity() + 1);
19191919
#endif

0 commit comments

Comments
 (0)