Remove some cruft from p3peermgr

This commit is contained in:
Gioacchino Mazzurco 2019-11-07 19:47:23 +01:00
parent a259307218
commit aabba04be9
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
2 changed files with 6 additions and 11 deletions

View File

@ -3,8 +3,8 @@
* *
* libretroshare: retroshare core library *
* *
* Copyright (C) 2007-2011 Robert Fernie *
* Copyright (C) 2015-2018 Gioacchino Mazzurco <gio@eigenlab.org> *
* Copyright (C) 2007-2011 Robert Fernie <retroshare@lunamutt.com> *
* Copyright (C) 2015-2019 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
@ -3154,4 +3154,4 @@ bool p3PeerMgrIMPL::removeUnusedLocations()
return true;
}
p3PeerMgr::~p3PeerMgr() = default;

View File

@ -3,7 +3,8 @@
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2011 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright (C) 2007-2011 Robert Fernie <retroshare@lunamutt.com> *
* Copyright (C) 2015-2019 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
@ -112,8 +113,6 @@ class peerState
class RsNodeGroupItem;
struct RsGroupInfo;
std::string textPeerState(peerState &state);
class p3LinkMgr;
class p3NetMgr;
@ -123,10 +122,6 @@ class p3NetMgrIMPL;
class p3PeerMgr
{
public:
p3PeerMgr() {}
virtual ~p3PeerMgr() {}
virtual bool addFriend( const RsPeerId &ssl_id, const RsPgpId &gpg_id,
uint32_t netMode = RS_NET_MODE_UDP,
uint16_t vsDisc = RS_VS_DISC_FULL,
@ -242,7 +237,7 @@ virtual bool locked_computeCurrentBestOwnExtAddressCandidate(sockaddr_storage
/*************************************************************************************************/
/*************************************************************************************************/
virtual ~p3PeerMgr();
};