From 42e7af8cd24f64b6a502312e566a450ec70e3949 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Mon, 29 Jul 2024 12:21:32 +0200 Subject: [PATCH] refactor(scanner): clean up ctor --- include/dwarfs/scanner.h | 5 ++- src/dwarfs/scanner.cpp | 70 ++++++++++++++++++--------------------- src/mkdwarfs_main.cpp | 16 ++++----- test/dwarfs_benchmark.cpp | 6 ++-- test/dwarfs_test.cpp | 13 ++++---- 5 files changed, 50 insertions(+), 60 deletions(-) diff --git a/include/dwarfs/scanner.h b/include/dwarfs/scanner.h index acf0db27..f2a01022 100644 --- a/include/dwarfs/scanner.h +++ b/include/dwarfs/scanner.h @@ -43,9 +43,8 @@ class thread_pool; class scanner { public: - scanner(logger& lgr, thread_pool& pool, std::shared_ptr sf, - std::shared_ptr ef, - std::shared_ptr os, std::shared_ptr