redo no save useless profiles

This commit is contained in:
weko 2023-05-06 07:59:40 +00:00
parent 3bc56ba423
commit 1d8a91c5cc
2 changed files with 17 additions and 13 deletions

View file

@ -60,7 +60,8 @@ namespace data
boost::posix_time::ptime GetLastUpdateTime () const { return m_LastUpdateTime; };
bool IsUpdated () const { return m_IsUpdated; };
bool IsUseful() const { return m_IsUseful; };
bool IsUseful() const;
private:
@ -84,8 +85,6 @@ namespace data
uint32_t m_NumTimesTaken;
uint32_t m_NumTimesRejected;
bool m_HasConnected; // incoming connection received
// is need to be saved
bool m_IsUseful;
};
std::shared_ptr<RouterProfile> GetRouterProfile (const IdentHash& identHash);