mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove the use of beast::String from rippled (RIPD-443)
This commit is contained in:
committed by
Vinnie Falco
parent
4241dbb600
commit
c0b69e8ef7
@@ -60,8 +60,7 @@ getIniFileSection (IniFileSections& secSource, std::string const& strSection);
|
||||
*/
|
||||
// DEPRECATED
|
||||
beast::StringPairArray
|
||||
parseKeyValueSection (IniFileSections& secSource,
|
||||
beast::String const& strSection);
|
||||
parseKeyValueSection (IniFileSections& secSource, std::string const& strSection);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -246,13 +245,9 @@ public:
|
||||
|
||||
/** Convert the RPC/port combination to a readable string.
|
||||
*/
|
||||
beast::String const getRpcAddress ()
|
||||
std::string const getRpcAddress ()
|
||||
{
|
||||
beast::String s;
|
||||
|
||||
s << m_rpcIP.c_str () << ":" << m_rpcPort;
|
||||
|
||||
return s;
|
||||
return m_rpcIP + ":" + std::to_string (m_rpcPort);
|
||||
}
|
||||
|
||||
/** Determine the level of administrative permission to grant.
|
||||
|
||||
Reference in New Issue
Block a user