diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-25 23:19:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-25 23:19:21 +0100 |
| commit | fec5758b899c93b3832e1a6c7d3f8db410f14752 (patch) | |
| tree | 2c6563987c6381d4f7b366f81a62fce7add841d0 | |
| parent | ed587e4398fb3b1f40f3ab7892c48e280bd28f5d (diff) | |
Remove unused and non-building class.v1.0.6
Fedora 42's compiler notices that this class is missing Copy().
| -rwxr-xr-x | src/MXF.h | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -263,30 +263,6 @@ namespace ASDCP const PropertyType& const_get() const { return m_property; } }; - // wrapper object manages optional properties - template <class PropertyType> - class optional_container_property - { - PropertyType m_property; - - public: - optional_container_property() {} - optional_container_property(const PropertyType& value) : m_property(value) {} - const optional_container_property<PropertyType>& operator=(const PropertyType& rhs) { - this->Copy(rhs.m_property); - return *this; - } - - bool operator==(const PropertyType& rhs) const { return this->m_property == rhs; } - bool operator==(const optional_property<PropertyType>& rhs) const { return this->m_property == rhs.m_property; } - operator PropertyType&() { return this->m_property; } - void set(const PropertyType& rhs) { this->m_property = rhs; } - void reset(const PropertyType& rhs) { this->clear(); } - bool empty() const { return ! this->m_property.HasValue(); } - PropertyType& get() { return m_property; } - const PropertyType& const_get() const { return m_property; } - }; - // base class of all metadata objects // class InterchangeObject : public ASDCP::KLVPacket |
