aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest/selftest.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-19 17:35:33 +0000
committerlloyd <[email protected]>2009-11-19 17:35:33 +0000
commit46eb21cd08a0268d860eeef449e7474fb615b050 (patch)
tree029d5bdea51f1606ecb6f241c5964881b98b1d5f /src/selftest/selftest.cpp
parentac3db1c524fdecbc069a5e1323d93e4a3b933152 (diff)
parent2af8cfbaf23033250a6819be9f45f82bf03e898d (diff)
propagate from branch 'net.randombit.botan' (head 2f3665f775fafbdfa517ecdca7f872e35bd90277)
to branch 'net.randombit.botan.c++0x' (head 45169719ddd8977b1eb20637576bc855dbc867a0)
Diffstat (limited to 'src/selftest/selftest.cpp')
-rw-r--r--src/selftest/selftest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp
index 660be36e4..d5b184f8f 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 "+