diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-28 10:40:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-28 21:08:08 +0100 |
| commit | c8966336f48c4de7222a97c23eccad24fab45121 (patch) | |
| tree | f5e268c96be2505b77e8918f8aa0ca47b0444e1f | |
| parent | a2e41d9a95b6e0000f3a54f513214130f8b6ca9f (diff) | |
Small C++11 cleanups.
| -rw-r--r-- | src/tools/dcpomatic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 0f86b4940..8bcca9b22 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -451,12 +451,12 @@ public: } for (auto i: notes) { - error_dialog (0, std_to_wx(i)); + error_dialog (nullptr, std_to_wx(i)); } set_film (film); - JobManager::instance()->add(shared_ptr<Job>(new CheckContentChangeJob(film))); + JobManager::instance()->add(make_shared<CheckContentChangeJob>(film)); } catch (FileNotFoundError& e) { auto const dir = e.file().parent_path(); |
