diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-06 21:02:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-06 23:46:03 +0100 |
| commit | d2522364d5e64d07449b2bf6a36be7fdac258f71 (patch) | |
| tree | 45a078169cb261067433d8d68726df958d24d53c | |
| parent | 20da60db1c5a388629b054ed6e1b143decbbd5de (diff) | |
Cleanup: use default value in header.
| -rw-r--r-- | src/lib/content.cc | 5 | ||||
| -rw-r--r-- | src/lib/content.h | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index ed0e9af6d..9969213ac 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -66,7 +66,6 @@ int const ContentProperty::VIDEO_FRAME_RATE = 405; Content::Content () - : _change_signals_frequent (false) { } @@ -74,21 +73,18 @@ Content::Content () Content::Content (DCPTime p) : _position (p) - , _change_signals_frequent (false) { } Content::Content (boost::filesystem::path p) - : _change_signals_frequent (false) { add_path (p); } Content::Content (cxml::ConstNodePtr node) - : _change_signals_frequent (false) { for (auto i: node->node_children("Path")) { _paths.push_back (i->content()); @@ -114,7 +110,6 @@ Content::Content (vector<shared_ptr<Content>> c) , _trim_start (c.front()->trim_start()) , _trim_end (c.back()->trim_end()) , _video_frame_rate (c.front()->video_frame_rate()) - , _change_signals_frequent (false) { for (size_t i = 0; i < c.size(); ++i) { if (i > 0 && c[i]->trim_start() > ContentTime ()) { diff --git a/src/lib/content.h b/src/lib/content.h index d0faeb9d4..ba4c23ddf 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -244,7 +244,7 @@ private: * else (either some video happening at the same time, or the rate of the DCP). */ boost::optional<double> _video_frame_rate; - bool _change_signals_frequent; + bool _change_signals_frequent = false; }; |
