std::shared_ptr
[dcpomatic.git] / src / wx / player_information.h
index ae3e134295f3442694a1dceda5fcff9816f83d32..0dd6c4ad0e8f9c41f584b90ca43d729afc291dc2 100644 (file)
@@ -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;