From d2522364d5e64d07449b2bf6a36be7fdac258f71 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 6 Sep 2022 21:02:42 +0200 Subject: [PATCH] Cleanup: use default value in header. --- src/lib/content.cc | 5 ----- src/lib/content.h | 2 +- 2 files changed, 1 insertion(+), 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> 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 _video_frame_rate; - bool _change_signals_frequent; + bool _change_signals_frequent = false; }; -- 2.30.2