From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 844213858D35; Sat, 21 Oct 2023 10:54:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 844213858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697885676; bh=6uFPkUgihf9fFfhMwcbyfv+p9zlyY0L5tBlLe6dYTf4=; h=From:To:Subject:Date:From; b=iv1Wi4mHOpKOtVaP4Xev6AkQz0Vlv1T10t+Ej60G5zaIQZLMjlkEDRJSRibc5VUUC 5ipW5BMyNGMvpk/7tzo/ErYbfq+nKtf8qfi29JdjM6s4ke3EZjLnEMJG8UKzViUy1N WjMwuMyodt3G1F9YwmsMEXaWS1z60tJePtOls1hs= 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 r14-4814] libstdc++: Fix formatting of filesystem directory iterators X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 57cbb1d3344116020e7448305d2aa904c1a4cd85 X-Git-Newrev: 77209d43f1f38f153863a1845b64542cca79c2cb Message-Id: <20231021105436.844213858D35@sourceware.org> Date: Sat, 21 Oct 2023 10:54:36 +0000 (GMT) List-Id: https://gcc.gnu.org/g:77209d43f1f38f153863a1845b64542cca79c2cb commit r14-4814-g77209d43f1f38f153863a1845b64542cca79c2cb Author: Jonathan Wakely Date: Tue Oct 3 17:35:38 2023 +0100 libstdc++: Fix formatting of filesystem directory iterators Fix indentation. libstdc++-v3/ChangeLog: * include/bits/fs_dir.h (operator==(default_sentinel_t)): Fix indentation. Diff: --- libstdc++-v3/include/bits/fs_dir.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libstdc++-v3/include/bits/fs_dir.h b/libstdc++-v3/include/bits/fs_dir.h index 9dd0f896e468..3b0a493dc3fd 100644 --- a/libstdc++-v3/include/bits/fs_dir.h +++ b/libstdc++-v3/include/bits/fs_dir.h @@ -449,10 +449,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 } #if __cplusplus >= 202002L - // _GLIBCXX_RESOLVE_LIB_DEFECTS - // 3719. Directory iterators should be usable with default sentinel - bool operator==(default_sentinel_t) const noexcept - { return !_M_dir; } + // _GLIBCXX_RESOLVE_LIB_DEFECTS + // 3719. Directory iterators should be usable with default sentinel + bool operator==(default_sentinel_t) const noexcept + { return !_M_dir; } #endif #if __cpp_impl_three_way_comparison < 201907L @@ -565,10 +565,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 } #if __cplusplus >= 202002L - // _GLIBCXX_RESOLVE_LIB_DEFECTS - // 3719. Directory iterators should be usable with default sentinel - bool operator==(default_sentinel_t) const noexcept - { return !_M_dirs; } + // _GLIBCXX_RESOLVE_LIB_DEFECTS + // 3719. Directory iterators should be usable with default sentinel + bool operator==(default_sentinel_t) const noexcept + { return !_M_dirs; } #endif #if __cpp_impl_three_way_comparison < 201907L