mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
Use namespace std for int64_t and uint64_t
According to the c++11 standard, the declarations are within namespace scope of the namespace `std'. Add `std::' to avoid unnecessary requirement of implementations.
This commit is contained in:
@ -183,8 +183,8 @@ template <
|
|||||||
template<typename U, typename... Args> class ArrayType = std::vector,
|
template<typename U, typename... Args> class ArrayType = std::vector,
|
||||||
class StringType = std::string,
|
class StringType = std::string,
|
||||||
class BooleanType = bool,
|
class BooleanType = bool,
|
||||||
class NumberIntegerType = int64_t,
|
class NumberIntegerType = std::int64_t,
|
||||||
class NumberUnsignedType = uint64_t,
|
class NumberUnsignedType = std::uint64_t,
|
||||||
class NumberFloatType = double,
|
class NumberFloatType = double,
|
||||||
template<typename U> class AllocatorType = std::allocator
|
template<typename U> class AllocatorType = std::allocator
|
||||||
>
|
>
|
||||||
|
@ -183,8 +183,8 @@ template <
|
|||||||
template<typename U, typename... Args> class ArrayType = std::vector,
|
template<typename U, typename... Args> class ArrayType = std::vector,
|
||||||
class StringType = std::string,
|
class StringType = std::string,
|
||||||
class BooleanType = bool,
|
class BooleanType = bool,
|
||||||
class NumberIntegerType = int64_t,
|
class NumberIntegerType = std::int64_t,
|
||||||
class NumberUnsignedType = uint64_t,
|
class NumberUnsignedType = std::uint64_t,
|
||||||
class NumberFloatType = double,
|
class NumberFloatType = double,
|
||||||
template<typename U> class AllocatorType = std::allocator
|
template<typename U> class AllocatorType = std::allocator
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user