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 7b87bcb61..8c8befb7b 100644 --- a/src/selftest/selftest.cpp +++ b/src/selftest/selftest.cpp @@ -129,8 +129,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 "+ |