Reverting const accessor for class optional_property rel_2_10_36
authorjhurst <jhurst@cinecert.com>
Wed, 12 Feb 2020 17:45:18 +0000 (09:45 -0800)
committerjhurst <jhurst@cinecert.com>
Wed, 12 Feb 2020 17:45:18 +0000 (09:45 -0800)
README.md
src/MXF.h

index daca4aedb27a0846db6751be9fcac27fa138248b..edeb0fd906b68aa3ff43d8069e5a3245d63bc629 100755 (executable)
--- 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
index 30c1d164b7ad1654dc4f1fa51a75f2d63203ff5c..d6e201a420a76f4bd52e300022747bd0ded226be 100755 (executable)
--- 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; }