diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-29 02:28:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-29 02:56:12 +0100 |
| commit | ff3b9789a0e0540f7a8677ec5eb644e21b6f262c (patch) | |
| tree | c84eb6174f83b467008a014f6334fba4318a1827 | |
| parent | 1e0425dc769a0a909d20de7af373bff3f38de8d2 (diff) | |
Add some explicits.
| -rw-r--r-- | src/lib/hints.h | 2 | ||||
| -rw-r--r-- | src/lib/send_notification_email_job.h | 2 | ||||
| -rw-r--r-- | src/lib/verify_dcp_job.h | 2 | ||||
| -rw-r--r-- | src/wx/closed_captions_dialog.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/hints.h b/src/lib/hints.h index 6ee398c88..dd1dd3ff2 100644 --- a/src/lib/hints.h +++ b/src/lib/hints.h @@ -32,7 +32,7 @@ class Film; class Hints : public Signaller { public: - Hints (boost::weak_ptr<const Film> film); + Hints (explicit boost::weak_ptr<const Film> film); ~Hints (); void start (); diff --git a/src/lib/send_notification_email_job.h b/src/lib/send_notification_email_job.h index f6ca3fbd6..3817f9018 100644 --- a/src/lib/send_notification_email_job.h +++ b/src/lib/send_notification_email_job.h @@ -23,7 +23,7 @@ class SendNotificationEmailJob : public Job { public: - SendNotificationEmailJob (std::string body); + SendNotificationEmailJob (explicit std::string body); std::string name () const; std::string json_name () const; diff --git a/src/lib/verify_dcp_job.h b/src/lib/verify_dcp_job.h index 0ed9669cc..22129aee2 100644 --- a/src/lib/verify_dcp_job.h +++ b/src/lib/verify_dcp_job.h @@ -27,7 +27,7 @@ class Content; class VerifyDCPJob : public Job { public: - VerifyDCPJob (std::vector<boost::filesystem::path> directories); + VerifyDCPJob (explicit std::vector<boost::filesystem::path> directories); std::string name () const; std::string json_name () const; diff --git a/src/wx/closed_captions_dialog.h b/src/wx/closed_captions_dialog.h index be5b3664d..4b47d593f 100644 --- a/src/wx/closed_captions_dialog.h +++ b/src/wx/closed_captions_dialog.h @@ -27,7 +27,7 @@ class Player; class ClosedCaptionsDialog : public wxDialog { public: - ClosedCaptionsDialog (wxWindow* parent); + ClosedCaptionsDialog (explicit wxWindow* parent); void update (DCPTime); void clear (); |
