aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-12-12 23:50:13 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2024-12-13 12:00:42 +0000
commit29dbd301a20a325da00987ccaaf52c3143fb7a00 (patch)
tree2746c5806e035c699728b235b7f3e56a8f772e0d
parent6a5a1b8175e07ff578204476cd11115d8a071cbc (diff)
downloadgcc-29dbd301a20a325da00987ccaaf52c3143fb7a00.zip
gcc-29dbd301a20a325da00987ccaaf52c3143fb7a00.tar.gz
gcc-29dbd301a20a325da00987ccaaf52c3143fb7a00.tar.bz2
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.
-rw-r--r--libstdc++-v3/testsuite/26_numerics/random/random_device/entropy.cc2
1 files changed, 1 insertions, 1 deletions
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 9f529f5..a6bebb3 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();