Add a load of explicit keywords.
[dcpomatic.git] / src / tools / dcpomatic.cc
index 2fd8edc3dae56280b10f4a44f1e7f174bc69936b..b221201435deac4504cf1090b2602e2edac9457a 100644 (file)
@@ -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)
@@ -344,10 +344,6 @@ public:
                delete[] accel;
 
                UpdateChecker::instance()->StateChanged.connect (boost::bind (&DOMFrame::update_checker_state_changed, this));
-
-#ifdef DCPOMATIC_LINUX
-               pthread_setname_np(pthread_self(), "gui");
-#endif
        }
 
        void remove_clicked (wxCommandEvent& ev)