aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-06-14 14:50:49 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-06-14 21:07:47 +0100
commit29da01709facbcc7efef4fd6767660d417f44531 (patch)
tree4c06fc508557a5fcb750d6533d42153c214757df
parent0a9af7b4ef1b8aa85cc8820acf54d41d1569fc10 (diff)
downloadgcc-29da01709facbcc7efef4fd6767660d417f44531.zip
gcc-29da01709facbcc7efef4fd6767660d417f44531.tar.gz
gcc-29da01709facbcc7efef4fd6767660d417f44531.tar.bz2
libstdc++: Fix indentation in allocator base classes
libstdc++-v3/ChangeLog: * include/bits/new_allocator.h: Fix indentation. * include/ext/malloc_allocator.h: Likewise.
-rw-r--r--libstdc++-v3/include/bits/new_allocator.h6
-rw-r--r--libstdc++-v3/include/ext/malloc_allocator.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/include/bits/new_allocator.h b/libstdc++-v3/include/bits/new_allocator.h
index 1a5bc51..92ae984 100644
--- a/libstdc++-v3/include/bits/new_allocator.h
+++ b/libstdc++-v3/include/bits/new_allocator.h
@@ -119,9 +119,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
allocate(size_type __n, const void* = static_cast<const void*>(0))
{
#if __cplusplus >= 201103L
- // _GLIBCXX_RESOLVE_LIB_DEFECTS
- // 3308. std::allocator<void>().allocate(n)
- static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types");
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 3308. std::allocator<void>().allocate(n)
+ static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types");
#endif
if (__builtin_expect(__n > this->_M_max_size(), false))
diff --git a/libstdc++-v3/include/ext/malloc_allocator.h b/libstdc++-v3/include/ext/malloc_allocator.h
index b61e9a8..82b3f0a 100644
--- a/libstdc++-v3/include/ext/malloc_allocator.h
+++ b/libstdc++-v3/include/ext/malloc_allocator.h
@@ -103,9 +103,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
allocate(size_type __n, const void* = 0)
{
#if __cplusplus >= 201103L
- // _GLIBCXX_RESOLVE_LIB_DEFECTS
- // 3308. std::allocator<void>().allocate(n)
- static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types");
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 3308. std::allocator<void>().allocate(n)
+ static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types");
#endif
if (__builtin_expect(__n > this->_M_max_size(), false))