libstdc++: Fix indentation in allocator base classes
authorJonathan Wakely <jwakely@redhat.com>
Tue, 14 Jun 2022 13:50:49 +0000 (14:50 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 14 Jun 2022 20:07:47 +0000 (21:07 +0100)
libstdc++-v3/ChangeLog:

* include/bits/new_allocator.h: Fix indentation.
* include/ext/malloc_allocator.h: Likewise.

libstdc++-v3/include/bits/new_allocator.h
libstdc++-v3/include/ext/malloc_allocator.h

index 1a5bc51..92ae984 100644 (file)
@@ -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))
index b61e9a8..82b3f0a 100644 (file)
@@ -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))