C++11 tidying.
authorCarl Hetherington <cth@carlh.net>
Sat, 8 Jan 2022 12:30:41 +0000 (13:30 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 8 Jan 2022 12:30:41 +0000 (13:30 +0100)
src/wx/playlist_controls.cc

index 31bebdb06eda0badaaf0ac7c5ac996f5282823e5..6fd0bdc0b4ecb4d4139277fd4924ad9983655aaf 100644 (file)
@@ -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);
        }