mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 13:32:28 +02: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:
parent
d7ef2ccffd
commit
3e76e61b9c
|
@ -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
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue