1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Use name 'StateToString()' instead of ambiguous 'toString()'

This commit is contained in:
Stephen Shelton 2020-02-10 09:27:12 -07:00
parent 63ad7c8b91
commit 7f0972d48e
No known key found for this signature in database
GPG key ID: EE4BADACCE8B631C
2 changed files with 3 additions and 3 deletions

View file

@ -313,7 +313,7 @@ namespace llarp
{"txPktsDropped", m_Stats.totalDroppedTX},
{"txPktsInFlight", m_Stats.totalInFlightTX},
{"state", toString(m_State)},
{"state", StateToString(m_State)},
{"inbound", m_Inbound},
{"replayFilter", m_ReplayFilter.size()},
{"txMsgQueueSize", m_TXMsgs.size()},
@ -948,7 +948,7 @@ namespace llarp
}
std::string
Session::toString(State state)
Session::StateToString(State state)
{
switch(state)
{

View file

@ -143,7 +143,7 @@ namespace llarp
/// we are closed now
Closed
};
static std::string toString(State state);
static std::string StateToString(State state);
State m_State;
struct Stats