aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest/selftest.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 15:04:52 +0000
committerlloyd <[email protected]>2010-10-13 15:04:52 +0000
commitfc4c8f57baa06cfc9073ce83a5e3d1547bea86c0 (patch)
tree569e6b94f20fd71085c7eaeafe92b051697da613 /src/selftest/selftest.cpp
parent30a71cfa8d2d4c78e3a2b9f4c394b652f457e1f2 (diff)
parent6e85766cf001183e160c8ca2c0ed3eb40f07125c (diff)
propagate from branch 'net.randombit.botan' (head 0b2a6834cd19e431afc91bd062b0b455d6d035ac)
to branch 'net.randombit.botan.c++0x' (head fbb6dc287edf127cc84fc29f9d8477769d5cfd7f)
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 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 "+