mirror of
https://github.com/nlohmann/json.git
synced 2026-02-19 09:56:26 +00:00
Replace limit macros with std::numeric_limits (#3723)
This commit is contained in:
committed by
GitHub
parent
2d1f9b6a7d
commit
3d1252bbff
@@ -17,6 +17,7 @@ using nlohmann::json;
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include <limits>
|
||||
#include <set>
|
||||
#include "make_test_data_available.hpp"
|
||||
#include "test_utils.hpp"
|
||||
@@ -526,7 +527,7 @@ TEST_CASE("MessagePack")
|
||||
{
|
||||
std::vector<int64_t> const numbers
|
||||
{
|
||||
INT64_MIN,
|
||||
(std::numeric_limits<int64_t>::min)(),
|
||||
-2147483649LL,
|
||||
};
|
||||
for (auto i : numbers)
|
||||
|
||||
Reference in New Issue
Block a user