diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-20 21:03:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-20 21:03:21 +0100 |
| commit | afa2982b4b62dfb7fb5612b99e1c33f453866255 (patch) | |
| tree | be8af4ea19ab67dec83ca7e80eaa870ccd6956eb /src/lib/copy_to_drive_job.h | |
| parent | f3848d724f0d193b09fea26138fa38f4a3fd321c (diff) | |
White space: copy_to_drive_job.{cc,h}
Diffstat (limited to 'src/lib/copy_to_drive_job.h')
| -rw-r--r-- | src/lib/copy_to_drive_job.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/copy_to_drive_job.h b/src/lib/copy_to_drive_job.h index 8616a05d2..d29eb5691 100644 --- a/src/lib/copy_to_drive_job.h +++ b/src/lib/copy_to_drive_job.h @@ -25,18 +25,18 @@ class CopyToDriveJob : public Job { public: - CopyToDriveJob (std::vector<boost::filesystem::path> const& dcps, Drive drive, Nanomsg& nanomsg); + CopyToDriveJob(std::vector<boost::filesystem::path> const& dcps, Drive drive, Nanomsg& nanomsg); - std::string name () const override; - std::string json_name () const override; - void run () override; - bool enable_notify () const override { + std::string name() const override; + std::string json_name() const override; + void run() override; + bool enable_notify() const override { return true; } private: - void count (boost::filesystem::path dir, uint64_t& total_bytes); - void copy (boost::filesystem::path from, boost::filesystem::path to, uint64_t& total_remaining, uint64_t total); + void count(boost::filesystem::path dir, uint64_t& total_bytes); + void copy(boost::filesystem::path from, boost::filesystem::path to, uint64_t& total_remaining, uint64_t total); std::vector<boost::filesystem::path> _dcps; Drive _drive; Nanomsg& _nanomsg; |
