diff options
author | lloyd <[email protected]> | 2009-12-22 04:50:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-22 04:50:18 +0000 |
commit | c85c79ac51b5829258dae7e51bb472b740da9574 (patch) | |
tree | d02818ecdf25c028ead796c2a06bc10ac596924f /src/selftest | |
parent | c2c896ee870285b836f80b30a042941b03ddd440 (diff) | |
parent | 93e8fd697d009dfef3b994a77936cbf88d2d2ba3 (diff) |
propagate from branch 'net.randombit.botan' (head 5525439539abc808b7b8588380a362303cf3c599)
to branch 'net.randombit.botan.c++0x' (head 6749468bfbdeff4636b7a15de412a6c89f1aea87)
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 61f9c5571..2f6bea4cd 100644 --- a/src/selftest/selftest.cpp +++ b/src/selftest/selftest.cpp @@ -114,8 +114,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 "+ |