summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-25 00:38:19 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-25 00:38:19 +0100
commit2bfbf1b834639984fcf5f850b72c4dca608ee60f (patch)
treefce0350979e7ea2c8c6b516596c49ba0bf262984 /src/tools
parent740977ac39b3b1ae64bd06efce0a3bf9d188dd67 (diff)
Use boost::noncopyable.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 4814d08a4..6a94c4583 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -69,6 +69,7 @@
#include <ApplicationServices/ApplicationServices.h>
#endif
#include <boost/filesystem.hpp>
+#include <boost/noncopyable.hpp>
#include <iostream>
#include <fstream>
#include <sstream>
@@ -90,7 +91,7 @@ using std::exception;
using boost::shared_ptr;
using boost::dynamic_pointer_cast;
-class FilmChangedDialog
+class FilmChangedDialog : public boost::noncopyable
{
public:
FilmChangedDialog (string name)
@@ -116,9 +117,6 @@ public:
}
private:
- /* Not defined */
- FilmChangedDialog (FilmChangedDialog const &);
-
wxMessageDialog* _dialog;
};