]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix formatting of filesystem directory iterators
authorJonathan Wakely <jwakely@redhat.com>
Tue, 3 Oct 2023 16:35:38 +0000 (17:35 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 21 Oct 2023 10:54:00 +0000 (11:54 +0100)
Fix indentation.

libstdc++-v3/ChangeLog:

* include/bits/fs_dir.h (operator==(default_sentinel_t)): Fix
indentation.

libstdc++-v3/include/bits/fs_dir.h

index 9dd0f896e468a37c663bc6c47666de510ec8713a..3b0a493dc3fdd42a66b66de873da9adef7a0790a 100644 (file)
@@ -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