diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
| commit | b249700e1da7dd6631a8b4440587f4093a2bdef1 (patch) | |
| tree | 71f88855e72b11f927d194f0676bac93845d26be /src/wx/content_panel.h | |
| parent | 94695fc3214917ad7310af36270ce1e0b88cdfa3 (diff) | |
Remove use of boost::noncopyable.
Diffstat (limited to 'src/wx/content_panel.h')
| -rw-r--r-- | src/wx/content_panel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index 2a74df215..aca818118 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -64,11 +64,14 @@ private: }; -class ContentPanel : public boost::noncopyable +class ContentPanel { public: ContentPanel (wxNotebook *, std::shared_ptr<Film>, std::weak_ptr<FilmViewer> viewer); + ContentPanel (ContentPanel const&) = delete; + ContentPanel& operator= (ContentPanel const&) = delete; + std::shared_ptr<Film> film () const { return _film; } |
