don't use std::promise *

This commit is contained in:
Jeff Becker 2016-08-29 15:34:59 -04:00
parent 10ffdb2766
commit ce97fa87e7
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
2 changed files with 5 additions and 7 deletions

View file

@ -112,7 +112,7 @@ namespace data
std::shared_ptr<const RouterInfo> GetRandomRouter (Filter filter) const;
private:
std::promise<void> * m_Ready;
std::promise<void> m_Ready;
mutable std::mutex m_LeaseSetsMutex;
std::map<IdentHash, std::shared_ptr<LeaseSet> > m_LeaseSets;