diff options
| author | Ben Woosley <[email protected]> | 2020-02-12 23:01:45 -0500 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2020-03-14 12:23:01 -0700 |
| commit | d056df033a1e88554f7cc39dd709a87b17cb49df (patch) | |
| tree | 263b622b86b99015913624e20b40fc317777c3c7 /src/rpc/util.cpp | |
| parent | Merge #18268: rpc: Remove redundant types from descriptions (diff) | |
| download | discoin-d056df033a1e88554f7cc39dd709a87b17cb49df.tar.xz discoin-d056df033a1e88554f7cc39dd709a87b17cb49df.zip | |
Replace std::to_string with locale-independent alternative
Diffstat (limited to 'src/rpc/util.cpp')
| -rw-r--r-- | src/rpc/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index d3081bb97..43dcccc39 100644 --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -489,7 +489,7 @@ std::string RPCHelpMan::ToString() const if (i == 0) ret += "\nArguments:\n"; // Push named argument name and description - sections.m_sections.emplace_back(std::to_string(i + 1) + ". " + arg.m_name, arg.ToDescriptionString()); + sections.m_sections.emplace_back(::ToString(i + 1) + ". " + arg.m_name, arg.ToDescriptionString()); sections.m_max_pad = std::max(sections.m_max_pad, sections.m_sections.back().m_left.size()); // Recursively push nested args |