mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-08 20:12:56 -04:00
test: avoid shadowing class member
This commit is contained in:
parent
460cc4b0b2
commit
56bd23adf4
@ -190,11 +190,11 @@ class mkdwarfs_tester : public tester_common {
|
||||
return mkdwarfs_tester(std::make_shared<test::os_access_mock>());
|
||||
}
|
||||
|
||||
void add_stream_logger(std::ostream& os,
|
||||
void add_stream_logger(std::ostream& st,
|
||||
logger::level_type level = logger::VERBOSE) {
|
||||
lgr =
|
||||
std::make_unique<stream_logger>(std::make_shared<test::test_terminal>(),
|
||||
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}); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user