Browse Source

a minor update

cl-refactor
Vlad Gluhovsky 9 years ago
parent
commit
72f8b3cd5e
  1. 2
      libwhisper/WhisperDB.cpp

2
libwhisper/WhisperDB.cpp

@ -126,7 +126,7 @@ void WhisperDB::loadAll(std::map<h256, Envelope>& o_dst)
cdebug << "WhisperDB::loadAll(): loaded " << o_dst.size() << ", deleted " << wasted.size() << "messages";
for (auto k: wasted)
for (auto const& k: wasted)
{
leveldb::Status status = m_db->Delete(m_writeOptions, k);
if (!status.ok())

Loading…
Cancel
Save