[gcc r15-6218] libstdc++: Fix -Wmisleading-indentation warning in testcase
Jonathan Wakely
redi@gcc.gnu.org
Fri Dec 13 13:12:21 GMT 2024
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();
More information about the Libstdc++-cvs
mailing list