mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-08 19:23:54 +02:00
don't use std::promise *
This commit is contained in:
parent
10ffdb2766
commit
ce97fa87e7
2 changed files with 5 additions and 7 deletions
2
NetDb.h
2
NetDb.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue