aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-03-20 13:40:59 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-03-20 23:03:57 +0000
commitccfca55536f87a1332f844efcc66b8383030d149 (patch)
treefe6a273b1a6e661ff385ef8316574d0dbf7917b3
parent7cfc4da22c4c65b334838f46f4b45438a9f74f9d (diff)
downloadgcc-ccfca55536f87a1332f844efcc66b8383030d149.zip
gcc-ccfca55536f87a1332f844efcc66b8383030d149.tar.gz
gcc-ccfca55536f87a1332f844efcc66b8383030d149.tar.bz2
libstdc++: Fix formatting in std::filesystem helper function
libstdc++-v3/ChangeLog: * src/filesystem/ops-common.h (get_temp_directory_from_env): Fix formatting.
-rw-r--r--libstdc++-v3/src/filesystem/ops-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/src/filesystem/ops-common.h b/libstdc++-v3/src/filesystem/ops-common.h
index abbfca4..c95511b 100644
--- a/libstdc++-v3/src/filesystem/ops-common.h
+++ b/libstdc++-v3/src/filesystem/ops-common.h
@@ -625,7 +625,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();