diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-09 20:40:21 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-11 12:22:11 +0200 |
| commit | 736d6bf3242a0ba3841cb765e97cf9fee3540460 (patch) | |
| tree | db12286ad5c3b5f129940ba9ec05e13688cd082e /src | |
| parent | 70890b3f8e5e083be45016091a0e01c113d357dd (diff) | |
Little C++11 cleanup.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_view.cc b/src/wx/content_view.cc index 57a5535c9..802569879 100644 --- a/src/wx/content_view.cc +++ b/src/wx/content_view.cc @@ -95,7 +95,7 @@ ContentView::update () shared_ptr<Content> content; if (is_directory(i) && (is_regular_file(i / "ASSETMAP") || is_regular_file(i / "ASSETMAP.xml"))) { - content.reset (new DCPContent(i)); + content = make_shared<DCPContent>(i); } else if (i.path().extension() == ".mp4") { auto all_content = content_factory(i); if (!all_content.empty()) { |
