mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-18 11:30:44 +01:00
Replace std::to_string with locale-independent alternative
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <netaddress.h>
|
||||
#include <noui.h>
|
||||
#include <util/string.h>
|
||||
#include <test/util/logging.h>
|
||||
#include <test/util/setup_common.h>
|
||||
#include <timedata.h>
|
||||
@@ -46,7 +47,7 @@ static void MultiAddTimeData(int n, int64_t offset)
|
||||
static int cnt = 0;
|
||||
for (int i = 0; i < n; ++i) {
|
||||
CNetAddr addr;
|
||||
addr.SetInternal(std::to_string(++cnt));
|
||||
addr.SetInternal(ToString(++cnt));
|
||||
AddTimeData(addr, offset);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user