summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2020-02-12 09:45:18 -0800
committerjhurst <jhurst@cinecert.com>2020-02-12 09:45:18 -0800
commit9ca5313adead136d408cb282c191a9d9e04d4473 (patch)
treed1986e9fb4e4c2c97cf6c672657a835b4aca103f
parent7f1aa4f11e60123bd0ada6c352448ca43bd37efe (diff)
Reverting const accessor for class optional_propertyrel_2_10_36
-rwxr-xr-xREADME.md8
-rwxr-xr-xsrc/MXF.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index daca4ae..edeb0fd 100755
--- a/README.md
+++ b/README.md
@@ -63,13 +63,13 @@ make dist
## Libraries
-`libkumu.dylib` - Platform compatibility layer.
+`libkumu` - Platform compatibility layer.
-`libasdcp.dylib` - SMPTE ST 429 (DCP) and JPEG Interop DCP.
+`libasdcp` - SMPTE ST 429 (DCP) and JPEG Interop DCP.
-`libas02.dylib` - SMPTE ST 2067 (IMF).
+`libas02` - SMPTE ST 2067 (IMF).
-`libphdr.dylib` - Dolby Vision track file. Deprecated but maintained.
+`libphdr` - Dolby Vision track file. Deprecated but maintained.
## CLI Programs
diff --git a/src/MXF.h b/src/MXF.h
index 30c1d16..d6e201a 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<PropertyType>& rhs) const { return this->m_property == rhs.m_property; }
- operator const PropertyType&() const { return this->m_property; }
+ operator PropertyType&() { 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; }