mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
avoided shadowed declaration warning
This commit is contained in:
@@ -132,13 +132,13 @@ void check_container_stats(const Stats& s1, const Stats& s2)
|
|||||||
template <class Container> void test_stats()
|
template <class Container> void test_stats()
|
||||||
{
|
{
|
||||||
using allocator_type = typename Container::allocator_type;
|
using allocator_type = typename Container::allocator_type;
|
||||||
using stats = typename Container::stats;
|
using stats_type = typename Container::stats;
|
||||||
const bool full = true, empty = false;
|
const bool full = true, empty = false;
|
||||||
|
|
||||||
Container c;
|
Container c;
|
||||||
const Container& cc = c;
|
const Container& cc = c;
|
||||||
|
|
||||||
stats s = cc.get_stats();
|
stats_type s = cc.get_stats();
|
||||||
check_container_stats(s, empty);
|
check_container_stats(s, empty);
|
||||||
|
|
||||||
test::reset_sequence();
|
test::reset_sequence();
|
||||||
|
Reference in New Issue
Block a user