Replace limit macros with std::numeric_limits (#3723)

This commit is contained in:
Florian Albrechtskirchinger
2022-09-19 08:02:50 +02:00
committed by GitHub
parent 2d1f9b6a7d
commit 3d1252bbff
5 changed files with 23 additions and 17 deletions

View File

@@ -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)