Cleanup: use default value in header.
authorCarl Hetherington <cth@carlh.net>
Tue, 6 Sep 2022 19:02:42 +0000 (21:02 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 6 Nov 2022 22:46:03 +0000 (23:46 +0100)
src/lib/content.cc
src/lib/content.h

index ed0e9af6db855da97f095d134679dc8c421fd192..9969213ac62eb260aa217a727233f3c42afdecde 100644 (file)
@@ -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 ()) {
index d0faeb9d42883f1fcdcd8cb7774b09fec159bc6e..ba4c23ddf8cbb155f745b0ff33914fd747952866 100644 (file)
@@ -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;
 };