diff options
Diffstat (limited to 'src/selftest')
-rw-r--r-- | src/selftest/selftest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp index 4d2837dac..c5b707b70 100644 --- a/src/selftest/selftest.cpp +++ b/src/selftest/selftest.cpp @@ -125,8 +125,7 @@ namespace { void verify_results(const std::string& algo, const std::map<std::string, bool>& results) { - for(std::map<std::string, bool>::const_iterator i = results.begin(); - i != results.end(); ++i) + for(auto i = results.begin(); i != results.end(); ++i) { if(!i->second) throw Self_Test_Failure(algo + " self-test failed, provider "+ |