mirror of
https://github.com/nlohmann/json.git
synced 2026-02-25 04:46:26 +00:00
Replace limit macros with std::numeric_limits (#3723)
This commit is contained in:
committed by
GitHub
parent
2d1f9b6a7d
commit
3d1252bbff
@@ -15,6 +15,7 @@ using nlohmann::json;
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <limits>
|
||||
#include <set>
|
||||
#include "make_test_data_available.hpp"
|
||||
#include "test_utils.hpp"
|
||||
@@ -174,7 +175,7 @@ TEST_CASE("CBOR")
|
||||
{
|
||||
const std::vector<int64_t> numbers
|
||||
{
|
||||
INT64_MIN,
|
||||
(std::numeric_limits<int64_t>::min)(),
|
||||
-1000000000000000000,
|
||||
-100000000000000000,
|
||||
-10000000000000000,
|
||||
|
||||
Reference in New Issue
Block a user