Nuke some abandoned code.
This commit is contained in:
parent
40d5c79b62
commit
dda376c9eb
2 changed files with 0 additions and 31 deletions
|
@ -66,21 +66,6 @@ public:
|
|||
*/
|
||||
void clean(uint64_t now);
|
||||
|
||||
/**
|
||||
* @return List of external surface addresses as reported by peers
|
||||
*/
|
||||
inline std::vector< std::pair<Address,InetAddress> > getReportedSurface() const
|
||||
{
|
||||
std::vector< std::pair<Address,InetAddress> > r;
|
||||
{
|
||||
Mutex::Lock _l(_phy_m);
|
||||
r.reserve(_phy.size());
|
||||
for(std::map< PhySurfaceKey,PhySurfaceEntry >::const_iterator p(_phy.begin());p!=_phy.end();++p)
|
||||
r.push_back(std::pair<Address,InetAddress>(p->first.reporter,p->second.mySurface));
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
private:
|
||||
struct PhySurfaceKey
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue