X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2FMXF.h;h=30c1d164b7ad1654dc4f1fa51a75f2d63203ff5c;hb=5d86f368b2bade7bca7700c74f198ef7f4129b44;hp=d6e201a420a76f4bd52e300022747bd0ded226be;hpb=39d533e10e9f5248c557caa0777c8c10ed5d737c;p=asdcplib.git diff --git a/src/MXF.h b/src/MXF.h index d6e201a..30c1d16 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; }