diff options
author | lloyd <[email protected]> | 2009-11-16 17:07:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-16 17:07:38 +0000 |
commit | 22a47e97f459337ff8c2b9fdcf68cb1514b19b34 (patch) | |
tree | 3eacf8d877eb0f3c6bc19f0b1995bedea224591c /src/selftest | |
parent | fc5fadb281c509855a0ae20ecc70bfe9d681a1af (diff) |
Use auto for long iterator names, etc.
It will be nice to convert to the range-based for loop once that's available.
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 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 "+ |