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

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