White space: verify_dcp_job.{cc,h}
authorCarl Hetherington <cth@carlh.net>
Tue, 21 Jan 2025 01:25:33 +0000 (02:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 Jan 2025 01:25:33 +0000 (02:25 +0100)
src/lib/verify_dcp_job.cc
src/lib/verify_dcp_job.h

index 6395cc38842e728aed40fc655f347e7c9707716b..46c7c7e69e5f0dbe132aaf4b85b1e98084f9bffb 100644 (file)
@@ -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);
 }
index d7ac21d412204e72bb0d5c5270d38713f0038153..8bf72f025cdec2dad1fe40dc94d0977737513898 100644 (file)
@@ -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;