summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-08 13:30:41 +0100
committerCarl Hetherington <cth@carlh.net>2022-01-08 13:30:41 +0100
commit7392cb8383c9b857edad5f99eaf917ed70da237d (patch)
tree45ea68373b6d25ec271fa41a747acf449fe947b8 /src
parent49493f16a9bab200e50954ae69f0c7bca869a139 (diff)
C++11 tidying.
Diffstat (limited to 'src')
-rw-r--r--src/wx/playlist_controls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/playlist_controls.cc b/src/wx/playlist_controls.cc
index 31bebdb06..6fd0bdc0b 100644
--- a/src/wx/playlist_controls.cc
+++ b/src/wx/playlist_controls.cc
@@ -445,7 +445,7 @@ PlaylistControls::viewer_finished ()
} else {
/* Finished the whole SPL */
_selected_playlist_position = 0;
- ResetFilm (shared_ptr<Film>(new Film(optional<boost::filesystem::path>())));
+ ResetFilm (std::make_shared<Film>(optional<boost::filesystem::path>()));
_play_button->Enable (true);
_pause_button->Enable (false);
}