From: Jonathan Wakely Date: Thu, 12 Dec 2024 23:50:13 +0000 (+0000) Subject: libstdc++: Fix -Wmisleading-indentation warning in testcase X-Git-Tag: basepoints/gcc-16~3335 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29dbd301a20a325da00987ccaaf52c3143fb7a00;p=thirdparty%2Fgcc.git 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 --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();