diff --git a/libretroshare/src/pqi/p3peermgr.cc b/libretroshare/src/pqi/p3peermgr.cc index 59d9ae986..eced429a4 100644 --- a/libretroshare/src/pqi/p3peermgr.cc +++ b/libretroshare/src/pqi/p3peermgr.cc @@ -3,8 +3,8 @@ * * * libretroshare: retroshare core library * * * - * Copyright (C) 2007-2011 Robert Fernie * - * Copyright (C) 2015-2018 Gioacchino Mazzurco * + * Copyright (C) 2007-2011 Robert Fernie * + * Copyright (C) 2015-2019 Gioacchino Mazzurco * * * * 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; diff --git a/libretroshare/src/pqi/p3peermgr.h b/libretroshare/src/pqi/p3peermgr.h index d5451eaa9..2cc9e4888 100644 --- a/libretroshare/src/pqi/p3peermgr.h +++ b/libretroshare/src/pqi/p3peermgr.h @@ -3,7 +3,8 @@ * * * libretroshare: retroshare core library * * * - * Copyright 2007-2011 by Robert Fernie * + * Copyright (C) 2007-2011 Robert Fernie * + * Copyright (C) 2015-2019 Gioacchino Mazzurco * * * * 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(); };