diff --git a/include/openPMD/backend/BaseRecord.hpp b/include/openPMD/backend/BaseRecord.hpp index 90948813b9..2084a350b4 100644 --- a/include/openPMD/backend/BaseRecord.hpp +++ b/include/openPMD/backend/BaseRecord.hpp @@ -605,7 +605,7 @@ inline void BaseRecord::readBase() this->IOHandler()->enqueue(IOTask(this, aRead)); this->IOHandler()->flush(internal::defaultFlushParams); if (auto val = - Attribute(*aRead.resource).getOptional >(); + Attribute(*aRead.resource).getOptional>(); val.has_value()) this->setAttribute("unitDimension", val.value()); else