diff options
| author | John Hurst <jhurst@cinecert.com> | 2019-12-30 14:04:23 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-30 14:04:23 -0800 |
| commit | 4f604322588faf1b57e4b0bdc09c67c556b308b8 (patch) | |
| tree | 3f805afc72c3b88b93424aae4bd5f53cfdf25f9b /src/MXF.h | |
| parent | 9e269bd45830f54551722a65b0d7aa8f327e17dc (diff) | |
| parent | ac29693ab6af42c1babba8a3b5c359c7c1726e3c (diff) | |
Merge pull request #22 from DolbyLaboratories/dolby/fix_object_ref_not_being_written
Fix Object ref not being written
Diffstat (limited to 'src/MXF.h')
| -rwxr-xr-x | src/MXF.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -253,7 +253,7 @@ namespace ASDCP } 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; } + 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; } |
