summaryrefslogtreecommitdiff
path: root/src/wx/player_information.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/player_information.h')
-rw-r--r--src/wx/player_information.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/player_information.h b/src/wx/player_information.h
index b311847cb..2ce493714 100644
--- a/src/wx/player_information.h
+++ b/src/wx/player_information.h
@@ -32,7 +32,7 @@ class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
- PlayerInformation (wxWindow* parent, std::weak_ptr<FilmViewer> viewer);
+ PlayerInformation(wxWindow* parent, FilmViewer const& viewer);
void triggered_update ();
@@ -40,7 +40,7 @@ private:
void periodic_update ();
- std::weak_ptr<FilmViewer> _viewer;
+ FilmViewer const& _viewer;
wxPanel* _kdm_panel;
wxSizer* _sizer;
wxStaticText** _dcp;