libstdc++: Fix indentation in allocator base classes
libstdc++-v3/ChangeLog: * include/bits/new_allocator.h: Fix indentation. * include/ext/malloc_allocator.h: Likewise.
This commit is contained in:
parent
0a9af7b4ef
commit
29da01709f
2 changed files with 6 additions and 6 deletions
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue