Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove a broken, unused template class
Since Clang changes llvm/llvm-project#84050 and llvm/llvm-project#90152 (upcoming in Clang 19.x), Clang will diagnose member accesses before instantiating C++ templates. Within the optional_container_property template, this causes errors for the calls to this->Copy() and this->clear(), as there are no corresponding methods within that template class, errors like these: asdcplib/src/MXF.h:276:12: error: no member named 'Copy' in 'optional_container_property<PropertyType>' 276 | this->Copy(rhs.m_property); | ~~~~ ^ asdcplib/src/MXF.h:284:48: error: no member named 'clear' in 'optional_container_property<PropertyType>' 284 | void reset(const PropertyType& rhs) { this->clear(); } | ~~~~ ^ This template is unused, and these faulty calls have been present since the class was added in 0291582. Simply remove the unused template class, to avoid these compiler errors. This fixes #136.
- Loading branch information