From 56bd23adf400f08f74cce994c34e24147409af6f Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sat, 19 Oct 2024 23:01:36 +0200 Subject: [PATCH] test: avoid shadowing class member --- test/tool_main_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tool_main_test.cpp b/test/tool_main_test.cpp index 23971889..ea8ceae0 100644 --- a/test/tool_main_test.cpp +++ b/test/tool_main_test.cpp @@ -190,11 +190,11 @@ class mkdwarfs_tester : public tester_common { return mkdwarfs_tester(std::make_shared()); } - void add_stream_logger(std::ostream& os, + void add_stream_logger(std::ostream& st, logger::level_type level = logger::VERBOSE) { lgr = std::make_unique(std::make_shared(), - os, logger_options{.threshold = level}); + st, logger_options{.threshold = level}); } void add_root_dir() { os->add("", {1, 040755, 1, 0, 0, 10, 42, 0, 0, 0}); }