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

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

No files matched your search

+2 -1
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,