From 9282abe2a2cde7fe8395ec36ac2a85d1b8d42384 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Fri, 29 Aug 2025 14:45:21 +0200 Subject: [PATCH] refactor(writer_progress): remove unused code --- include/dwarfs/writer/writer_progress.h | 1 - src/writer/writer_progress.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/dwarfs/writer/writer_progress.h b/include/dwarfs/writer/writer_progress.h index 7312c43c..9b45040a 100644 --- a/include/dwarfs/writer/writer_progress.h +++ b/include/dwarfs/writer/writer_progress.h @@ -43,7 +43,6 @@ class writer_progress { using update_function_type = std::function; writer_progress(); - explicit writer_progress(update_function_type func); writer_progress(update_function_type func, std::chrono::microseconds interval); diff --git a/src/writer/writer_progress.cpp b/src/writer/writer_progress.cpp index 59a81ea5..b7ce8cbe 100644 --- a/src/writer/writer_progress.cpp +++ b/src/writer/writer_progress.cpp @@ -35,9 +35,6 @@ namespace dwarfs::writer { writer_progress::writer_progress() : prog_{std::make_unique()} {} -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, std::chrono::microseconds interval) : prog_{std::make_unique()}