mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
Remove unused constants
This commit is contained in:
@@ -30,10 +30,11 @@ public:
|
||||
|
||||
void handleConnect (const boost::system::error_code & error, boost::asio::ip::tcp::resolver::iterator it);
|
||||
|
||||
std::string& getIP ()
|
||||
std::string const& getIP ()
|
||||
{
|
||||
return mIpPort.first;
|
||||
}
|
||||
|
||||
std::string getDisplayName ()
|
||||
{
|
||||
return mCluster ? mNodeName : mIpPort.first;
|
||||
|
||||
@@ -20,14 +20,6 @@ public:
|
||||
typedef boost::shared_ptr <Peer> pointer;
|
||||
typedef pointer const& ref;
|
||||
|
||||
static int const psbGotHello = 0;
|
||||
static int const psbSentHello = 1;
|
||||
static int const psbInMap = 2;
|
||||
static int const psbTrusted = 3;
|
||||
static int const psbNoLedgers = 4;
|
||||
static int const psbNoTransactions = 5;
|
||||
static int const psbDownLevel = 6;
|
||||
|
||||
public:
|
||||
static pointer New (boost::asio::io_service& io_service,
|
||||
boost::asio::ssl::context& ctx,
|
||||
@@ -38,7 +30,7 @@ public:
|
||||
virtual void handleConnect (const boost::system::error_code& error,
|
||||
boost::asio::ip::tcp::resolver::iterator it) = 0;
|
||||
|
||||
virtual std::string& getIP () = 0;
|
||||
virtual std::string const& getIP () = 0;
|
||||
|
||||
virtual std::string getDisplayName () = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user