diff options
author | lloyd <[email protected]> | 2011-06-17 16:54:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-06-17 16:54:16 +0000 |
commit | f799e57c35ff53136b0bbb7a40d44d7716db88a9 (patch) | |
tree | 4166a9694c990d667723088fcfe3fe63fef1dfd7 /src/rng/hmac_rng/hmac_rng.cpp | |
parent | 98fc1399dd3e61784a08c7da76ab729be6a93aff (diff) |
Add string_join; inverse of split_on.
Use auto in a few more places. Use GCC 4.6's range-for
Delete rather than hide Algorithm copy constructor/assignment
Move version to more or less randomly chosen 1.99 so there is no
ambiguity about versions.
Diffstat (limited to 'src/rng/hmac_rng/hmac_rng.cpp')
-rw-r--r-- | src/rng/hmac_rng/hmac_rng.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rng/hmac_rng/hmac_rng.cpp b/src/rng/hmac_rng/hmac_rng.cpp index 4f6a90565..6911a3af5 100644 --- a/src/rng/hmac_rng/hmac_rng.cpp +++ b/src/rng/hmac_rng/hmac_rng.cpp @@ -215,8 +215,8 @@ HMAC_RNG::~HMAC_RNG() delete extractor; delete prf; - for(auto i = entropy_sources.begin(); i != entropy_sources.end(); ++i) - delete *i; + for(auto src : entropy_sources) + delete src; counter = 0; } |