diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-17 16:55:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-03 22:44:22 +0200 |
| commit | b4c7d661a2c7b072d18e82129ff0a31a99ba5081 (patch) | |
| tree | a06fe77537de3ee78161ff4d4f0502b288820ab8 /src/tools | |
| parent | 2360b99255c8c87e568e5318a0fc27d50adf253b (diff) | |
Cleanup: use make_shared.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_playlist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_playlist.cc b/src/tools/dcpomatic_playlist.cc index c7ba80833..2e9bbb9f3 100644 --- a/src/tools/dcpomatic_playlist.cc +++ b/src/tools/dcpomatic_playlist.cc @@ -248,7 +248,7 @@ private: return; } - shared_ptr<SignalSPL> spl(new SignalSPL(wx_to_std(_("New Playlist")))); + auto spl = std::make_shared<SignalSPL>(wx_to_std(_("New Playlist"))); add_playlist_to_model(spl); add_playlist_to_view(spl); _list->SetItemState(_list->GetItemCount() - 1, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED); |
