From 2bfbf1b834639984fcf5f850b72c4dca608ee60f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 25 Apr 2016 00:38:19 +0100 Subject: Use boost::noncopyable. --- src/tools/dcpomatic.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') 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 + Copyright (C) 2012-2016 Carl Hetherington 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 #endif #include +#include #include #include #include @@ -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; }; -- cgit v1.2.3