diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-21 02:25:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-21 02:25:33 +0100 |
| commit | 0636595bc0e6281e278875267aa1affce148833e (patch) | |
| tree | adcce634dfaa084161b401aa9601356ff68ce914 | |
| parent | 2e96daa613559ea0182f3bf60945e2344cc810e1 (diff) | |
White space: verify_dcp_job.{cc,h}
| -rw-r--r-- | src/lib/verify_dcp_job.cc | 20 | ||||
| -rw-r--r-- | src/lib/verify_dcp_job.h | 10 |
2 files changed, 15 insertions, 15 deletions
diff --git a/src/lib/verify_dcp_job.cc b/src/lib/verify_dcp_job.cc index 6395cc388..46c7c7e69 100644 --- a/src/lib/verify_dcp_job.cc +++ b/src/lib/verify_dcp_job.cc @@ -37,46 +37,46 @@ using namespace boost::placeholders; VerifyDCPJob::VerifyDCPJob(vector<boost::filesystem::path> directories, vector<boost::filesystem::path> kdms) - , _directories (directories) : Job({}) + , _directories(directories) , _kdms(kdms) { } -VerifyDCPJob::~VerifyDCPJob () +VerifyDCPJob::~VerifyDCPJob() { - stop_thread (); + stop_thread(); } string -VerifyDCPJob::name () const +VerifyDCPJob::name() const { return _("Verify DCP"); } string -VerifyDCPJob::json_name () const +VerifyDCPJob::json_name() const { return N_("verify_dcp"); } void -VerifyDCPJob::update_stage (string s, optional<boost::filesystem::path> path) +VerifyDCPJob::update_stage(string s, optional<boost::filesystem::path> path) { if (path) { s += ": " + path->string(); } - sub (s); + sub(s); } void -VerifyDCPJob::run () +VerifyDCPJob::run() { vector<dcp::DecryptedKDM> decrypted_kdms; auto key = Config::instance()->decryption_chain()->key(); @@ -102,6 +102,6 @@ VerifyDCPJob::run () } } - set_progress (1); - set_state (failed ? FINISHED_ERROR : FINISHED_OK); + set_progress(1); + set_state(failed ? FINISHED_ERROR : FINISHED_OK); } diff --git a/src/lib/verify_dcp_job.h b/src/lib/verify_dcp_job.h index d7ac21d41..8bf72f025 100644 --- a/src/lib/verify_dcp_job.h +++ b/src/lib/verify_dcp_job.h @@ -30,18 +30,18 @@ class VerifyDCPJob : public Job { public: VerifyDCPJob(std::vector<boost::filesystem::path> directories, std::vector<boost::filesystem::path> kdms); - ~VerifyDCPJob (); + ~VerifyDCPJob(); - std::string name () const override; - std::string json_name () const override; - void run () override; + std::string name() const override; + std::string json_name() const override; + void run() override; dcp::VerificationResult const& result() const { return _result; } private: - void update_stage (std::string s, boost::optional<boost::filesystem::path> path); + void update_stage(std::string s, boost::optional<boost::filesystem::path> path); std::vector<boost::filesystem::path> _directories; std::vector<boost::filesystem::path> _kdms; |
