diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/wx/player_information.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/player_information.h')
| -rw-r--r-- | src/wx/player_information.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/player_information.h b/src/wx/player_information.h index ae3e13429..0dd6c4ad0 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -23,14 +23,13 @@ DCPOMATIC_DISABLE_WARNINGS #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS #include <boost/scoped_ptr.hpp> -#include <boost/weak_ptr.hpp> class FilmViewer; class PlayerInformation : public wxPanel { public: - PlayerInformation (wxWindow* parent, boost::weak_ptr<FilmViewer> viewer); + PlayerInformation (wxWindow* parent, std::weak_ptr<FilmViewer> viewer); void triggered_update (); @@ -38,7 +37,7 @@ private: void periodic_update (); - boost::weak_ptr<FilmViewer> _viewer; + std::weak_ptr<FilmViewer> _viewer; wxSizer* _sizer; wxStaticText** _dcp; wxStaticText* _dropped; |
