summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-15 00:28:32 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-17 00:10:59 +0200
commit7d8d78c183656191ff44c9464e06b843bfadc54d (patch)
treefaaca79c98662546e6d41a14650780257344cf37 /src/wx/film_viewer.h
parentbfd6bd32b5e20c479170452a66cb44eff59feacd (diff)
Remove some more unnecessary use of shared_ptr.
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index 1fa85a621..062522ffd 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -175,7 +175,7 @@ private:
bool quick_refresh ();
std::shared_ptr<Film> _film;
- std::shared_ptr<Player> _player;
+ boost::optional<Player> _player;
std::shared_ptr<VideoView> _video_view;
bool _coalesce_player_changes = false;