summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-27 15:34:45 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-27 15:34:45 +0000
commitc6871fe8617b3de03662b7630355059393bf8043 (patch)
treeef4aeaa8a6556d1afe033b962d0e8a7c615afc05 /src/tools
parent334e250896a5dcbb64db96df8e20821ffc75b146 (diff)
Add a load of explicit keywords.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc6
-rw-r--r--src/tools/dcpomatic_batch.cc4
-rw-r--r--src/tools/dcpomatic_kdm.cc2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 05534cc60..b22120143 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -113,7 +113,7 @@ using dcp::raw_convert;
class FilmChangedClosingDialog : public boost::noncopyable
{
public:
- FilmChangedClosingDialog (string name)
+ explicit FilmChangedClosingDialog (string name)
{
_dialog = new wxMessageDialog (
0,
@@ -146,7 +146,7 @@ private:
class FilmChangedDuplicatingDialog : public boost::noncopyable
{
public:
- FilmChangedDuplicatingDialog (string name)
+ explicit FilmChangedDuplicatingDialog (string name)
{
_dialog = new wxMessageDialog (
0,
@@ -223,7 +223,7 @@ enum {
class DOMFrame : public wxFrame
{
public:
- DOMFrame (wxString const & title)
+ explicit DOMFrame (wxString const & title)
: wxFrame (NULL, -1, title)
, _video_waveform_dialog (0)
, _hints_dialog (0)
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc
index 3cfe6c0a0..f6197b1e2 100644
--- a/src/tools/dcpomatic_batch.cc
+++ b/src/tools/dcpomatic_batch.cc
@@ -91,7 +91,7 @@ setup_menu (wxMenuBar* m)
class DOMFrame : public wxFrame
{
public:
- DOMFrame (wxString const & title)
+ explicit DOMFrame (wxString const & title)
: wxFrame (NULL, -1, title)
, _sizer (new wxBoxSizer (wxVERTICAL))
, _config_dialog (0)
@@ -252,7 +252,7 @@ static const wxCmdLineEntryDesc command_line_description[] = {
class JobServer : public Server
{
public:
- JobServer (DOMFrame* frame)
+ explicit JobServer (DOMFrame* frame)
: Server (BATCH_JOB_PORT)
, _frame (frame)
{}
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc
index 5b296b300..65326efb3 100644
--- a/src/tools/dcpomatic_kdm.cc
+++ b/src/tools/dcpomatic_kdm.cc
@@ -79,7 +79,7 @@ enum {
class DOMFrame : public wxFrame
{
public:
- DOMFrame (wxString const & title)
+ explicit DOMFrame (wxString const & title)
: wxFrame (0, -1, title)
, _config_dialog (0)
, _job_view (0)