From 45c51840f7cc4b295494da0de549fd9ec4219490 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 2 May 2024 09:52:58 +0200 Subject: [PATCH] avoided shadowed declaration warning --- test/unordered/stats_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unordered/stats_tests.cpp b/test/unordered/stats_tests.cpp index 651ac1eb..45afe5e2 100644 --- a/test/unordered/stats_tests.cpp +++ b/test/unordered/stats_tests.cpp @@ -132,13 +132,13 @@ void check_container_stats(const Stats& s1, const Stats& s2) template void test_stats() { using allocator_type = typename Container::allocator_type; - using stats = typename Container::stats; + using stats_type = typename Container::stats; const bool full = true, empty = false; Container c; const Container& cc = c; - stats s = cc.get_stats(); + stats_type s = cc.get_stats(); check_container_stats(s, empty); test::reset_sequence();