From ac29693ab6af42c1babba8a3b5c359c7c1726e3c Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Wed, 18 Dec 2019 14:37:41 +0100 Subject: Fix Object ref not being written: this prevented GenericStreamTextBasedSet to be correctly linked to TextBasedDMFramework --- src/MXF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/MXF.h') diff --git a/src/MXF.h b/src/MXF.h index b8d1193..d730b8c 100755 --- a/src/MXF.h +++ b/src/MXF.h @@ -253,7 +253,7 @@ namespace ASDCP } bool operator==(const PropertyType& rhs) const { return this->m_property == rhs; } bool operator==(const optional_property& rhs) const { return this->m_property == rhs.m_property; } - operator PropertyType&() { return this->m_property; } + operator const PropertyType&() const { return this->m_property; } void set(const PropertyType& rhs) { this->m_property = rhs; this->m_has_value = true; } void set_has_value(bool has_value = true) { this->m_has_value = has_value; } void reset(const PropertyType& rhs) { this->m_has_value = false; } -- cgit v1.2.3