1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

Merge pull request #2193 from dota17/issue#2059

Fix consistency in function `int_to_string()`
This commit is contained in:
Niels Lohmann
2020-06-24 11:46:48 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@ -3657,7 +3657,9 @@ namespace detail
template<typename string_type>
void int_to_string( string_type& target, std::size_t value )
{
target = std::to_string(value);
// For ADL
using std::to_string;
target = to_string(value);
}
template <typename IteratorType> class iteration_proxy_value
{