Browse Source

fixed compiling on osx

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
326476c4f4
  1. 2
      libdevcrypto/TrieDB.h
  2. 2
      libethereum/BlockChain.cpp

2
libdevcrypto/TrieDB.h

@ -417,7 +417,7 @@ public:
void insert(bytesConstRef _key, bytesConstRef _value) { Super::insert(_key, _value); m_secure.insert(_key, _value); syncRoot(); }
void remove(bytesConstRef _key) { Super::remove(_key); m_secure.remove(_key); syncRoot(); }
std::set<h256> leftOvers(std::ostream* = nullptr) const { return {}; }
std::set<h256> leftOvers(std::ostream* = nullptr) const { return std::set<h256>{}; }
bool check(bool) const { return m_secure.check(false) && Super::check(false); }
private:

2
libethereum/BlockChain.cpp

@ -547,7 +547,7 @@ void BlockChain::garbageCollect(bool _force)
}
}
m_cacheUsage.pop_back();
m_cacheUsage.push_front({});
m_cacheUsage.push_front(std::set<CacheID>{});
}
void BlockChain::checkConsistency()

Loading…
Cancel
Save