]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix formatting in std::filesystem helper function
authorJonathan Wakely <jwakely@redhat.com>
Mon, 20 Mar 2023 13:40:59 +0000 (13:40 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 4 Oct 2023 11:10:05 +0000 (12:10 +0100)
libstdc++-v3/ChangeLog:

* src/filesystem/ops-common.h (get_temp_directory_from_env): Fix
formatting.

(cherry picked from commit ccfca55536f87a1332f844efcc66b8383030d149)

libstdc++-v3/src/filesystem/ops-common.h

index f3ca125f2caa8f8933fa76c4c74ede39200ae9e0..6423bc9c2d23328bcf808b56016601068096dace 100644 (file)
@@ -624,7 +624,8 @@ _GLIBCXX_BEGIN_NAMESPACE_FILESYSTEM
       {
        buf.resize(len);
        len = GetTempPathW(buf.size(), buf.data());
-      } while (len > buf.size());
+      }
+    while (len > buf.size());
 
     if (len == 0)
       ec = __last_system_error();