From ca031ddb4a381a9dd4a2434976592c74e25f3b3a Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Fri, 14 Apr 2023 19:18:06 +0200 Subject: [PATCH] Fix autopkgtest regression on non x86: cc1plus: all warnings being treated as errors Last-Update: Fri, 14 Apr 2023 09:37:59 -0400 Bug-Debian: https://bugs.debian.org/1034369 Gbp-Pq: Name allow_unsigned_char.patch --- unittests/map.hpp | 2 +- unittests/multimap.hpp | 2 +- unittests/unordered_map.hpp | 2 +- unittests/unordered_multimap.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/unittests/map.hpp b/unittests/map.hpp index 5a91509..e44a5f4 100644 --- a/unittests/map.hpp +++ b/unittests/map.hpp @@ -62,7 +62,7 @@ void test_map() std::map o_esplmap; for(int j=0; j<100; ++j) - o_esplmap.insert({random_value(gen), { random_value(gen), random_value(gen) }}); + o_esplmap.insert({random_value(gen), { random_value(gen), random_value(gen) }}); std::ostringstream os; { diff --git a/unittests/multimap.hpp b/unittests/multimap.hpp index 0e74b1b..cc0f50b 100644 --- a/unittests/multimap.hpp +++ b/unittests/multimap.hpp @@ -71,7 +71,7 @@ void test_multimap() std::multimap o_esplmultimap; for(int j=0; j<100; ++j) { - auto key = random_value(gen); + auto key = random_value(gen); o_esplmultimap.insert({key, { random_value(gen), random_value(gen) }}); o_esplmultimap.insert({key, { random_value(gen), random_value(gen) }}); } diff --git a/unittests/unordered_map.hpp b/unittests/unordered_map.hpp index cc50e78..aa307b3 100644 --- a/unittests/unordered_map.hpp +++ b/unittests/unordered_map.hpp @@ -54,7 +54,7 @@ void test_unordered_map() std::unordered_map o_esplunordered_map; for(int j=0; j<100; ++j) - o_esplunordered_map.insert({random_value(gen), { random_value(gen), random_value(gen) }}); + o_esplunordered_map.insert({random_value(gen), { random_value(gen), random_value(gen) }}); std::ostringstream os; { diff --git a/unittests/unordered_multimap.hpp b/unittests/unordered_multimap.hpp index d5d76bc..5b3048e 100644 --- a/unittests/unordered_multimap.hpp +++ b/unittests/unordered_multimap.hpp @@ -71,7 +71,7 @@ void test_unordered_multimap() std::unordered_multimap o_esplunordered_multimap; for(int j=0; j<100; ++j) { - auto key = random_value(gen); + auto key = random_value(gen); o_esplunordered_multimap.insert({key, { random_value(gen), random_value(gen) }}); o_esplunordered_multimap.insert({key, { random_value(gen), random_value(gen) }}); } -- 2.30.2