summaryrefslogtreecommitdiff
path: root/src/lib/spl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-06-19 00:36:12 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-03 22:46:44 +0200
commitedd0d1e9520f1da97fe8d8dc30719a3b898d9537 (patch)
tree74423b7e86f0df28ab354529db0d5af7be494bd3 /src/lib/spl.h
parent0f8e247fd6d834cb59e840f5042d96bc479b6185 (diff)
Cleanup: use a member initializer.
Diffstat (limited to 'src/lib/spl.h')
-rw-r--r--src/lib/spl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/spl.h b/src/lib/spl.h
index f55a9fe1f..ea5c32974 100644
--- a/src/lib/spl.h
+++ b/src/lib/spl.h
@@ -37,13 +37,11 @@ class SPL
public:
SPL ()
: _id (dcp::make_uuid())
- , _missing (false)
{}
SPL (std::string name)
: _id (dcp::make_uuid())
, _name (name)
- , _missing (false)
{}
@@ -91,7 +89,7 @@ private:
std::string _name;
std::vector<SPLEntry> _spl;
/** true if any content was missing when read() was last called on this SPL */
- bool _missing;
+ bool _missing = false;
};