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:
parent
63ad7c8b91
commit
7f0972d48e
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue