From 24049a48de61aeaa291580d5115454e4e5d73e06 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 18 Feb 2023 19:30:29 +0100 Subject: [PATCH] Small cleanup --- src/client/updater/file_updater.cpp | 2 +- src/client/updater/progress_listener.hpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/updater/file_updater.cpp b/src/client/updater/file_updater.cpp index f20d53d5..508cda49 100644 --- a/src/client/updater/file_updater.cpp +++ b/src/client/updater/file_updater.cpp @@ -202,7 +202,7 @@ namespace updater utils::nt::relaunch_self(); throw update_cancelled(); } - + void file_updater::update_files(const std::vector& outdated_files) const { this->listener_.update_files(outdated_files); diff --git a/src/client/updater/progress_listener.hpp b/src/client/updater/progress_listener.hpp index 74d43003..f4537eb6 100644 --- a/src/client/updater/progress_listener.hpp +++ b/src/client/updater/progress_listener.hpp @@ -4,9 +4,8 @@ namespace updater { - class progress_listener + struct progress_listener { - public: virtual ~progress_listener() = default; virtual void update_files(const std::vector& files) = 0;