mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-18 17:00:30 -04:00
refactor(writer_progress): remove unused code
This commit is contained in:
parent
cff0e2e60e
commit
9282abe2a2
@ -43,7 +43,6 @@ class writer_progress {
|
|||||||
using update_function_type = std::function<void(writer_progress&, bool)>;
|
using update_function_type = std::function<void(writer_progress&, bool)>;
|
||||||
|
|
||||||
writer_progress();
|
writer_progress();
|
||||||
explicit writer_progress(update_function_type func);
|
|
||||||
writer_progress(update_function_type func,
|
writer_progress(update_function_type func,
|
||||||
std::chrono::microseconds interval);
|
std::chrono::microseconds interval);
|
||||||
|
|
||||||
|
@ -35,9 +35,6 @@ namespace dwarfs::writer {
|
|||||||
writer_progress::writer_progress()
|
writer_progress::writer_progress()
|
||||||
: prog_{std::make_unique<internal::progress>()} {}
|
: prog_{std::make_unique<internal::progress>()} {}
|
||||||
|
|
||||||
writer_progress::writer_progress(update_function_type func)
|
|
||||||
: writer_progress(std::move(func), std::chrono::seconds(1)) {}
|
|
||||||
|
|
||||||
writer_progress::writer_progress(update_function_type func,
|
writer_progress::writer_progress(update_function_type func,
|
||||||
std::chrono::microseconds interval)
|
std::chrono::microseconds interval)
|
||||||
: prog_{std::make_unique<internal::progress>()}
|
: prog_{std::make_unique<internal::progress>()}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user