From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 775B63850232; Tue, 14 Jun 2022 20:19:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 775B63850232 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-1094] libstdc++: Fix indentation in allocator base classes X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 0a9af7b4ef1b8aa85cc8820acf54d41d1569fc10 X-Git-Newrev: 29da01709facbcc7efef4fd6767660d417f44531 Message-Id: <20220614201926.775B63850232@sourceware.org> Date: Tue, 14 Jun 2022 20:19:26 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2022 20:19:26 -0000 https://gcc.gnu.org/g:29da01709facbcc7efef4fd6767660d417f44531 commit r13-1094-g29da01709facbcc7efef4fd6767660d417f44531 Author: Jonathan Wakely Date: Tue Jun 14 14:50:49 2022 +0100 libstdc++: Fix indentation in allocator base classes libstdc++-v3/ChangeLog: * include/bits/new_allocator.h: Fix indentation. * include/ext/malloc_allocator.h: Likewise. Diff: --- libstdc++-v3/include/bits/new_allocator.h | 6 +++--- libstdc++-v3/include/ext/malloc_allocator.h | 6 +++--- 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 1a5bc51b956..92ae9847f1c 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(0)) { #if __cplusplus >= 201103L - // _GLIBCXX_RESOLVE_LIB_DEFECTS - // 3308. std::allocator().allocate(n) - static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); + // _GLIBCXX_RESOLVE_LIB_DEFECTS + // 3308. std::allocator().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 b61e9a85bb2..82b3f0a1c6f 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().allocate(n) - static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); + // _GLIBCXX_RESOLVE_LIB_DEFECTS + // 3308. std::allocator().allocate(n) + static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); #endif if (__builtin_expect(__n > this->_M_max_size(), false))