public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r15-6218] libstdc++: Fix -Wmisleading-indentation warning in testcase
@ 2024-12-13 13:12 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2024-12-13 13:12 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:29dbd301a20a325da00987ccaaf52c3143fb7a00
commit r15-6218-g29dbd301a20a325da00987ccaaf52c3143fb7a00
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Dec 12 23:50:13 2024 +0000
libstdc++: Fix -Wmisleading-indentation warning in testcase
libstdc++-v3/ChangeLog:
* testsuite/26_numerics/random/random_device/entropy.cc: Fix
indentation to avoid -Wmisleading-indentation warning.
Diff:
---
libstdc++-v3/testsuite/26_numerics/random/random_device/entropy.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/26_numerics/random/random_device/entropy.cc b/libstdc++-v3/testsuite/26_numerics/random/random_device/entropy.cc
index 9f529f5d8141..a6bebb39a9eb 100644
--- a/libstdc++-v3/testsuite/26_numerics/random/random_device/entropy.cc
+++ b/libstdc++-v3/testsuite/26_numerics/random/random_device/entropy.cc
@@ -30,7 +30,7 @@ test01()
VERIFY( entropy == max );
}
- for (auto token : { "getentropy", "arc4random" })
+ for (auto token : { "getentropy", "arc4random" })
if (__gnu_test::random_device_available(token))
{
const double entropy = std::random_device(token).entropy();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-13 13:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-13 13:12 [gcc r15-6218] libstdc++: Fix -Wmisleading-indentation warning in testcase Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).