diff --git a/include/openPMD/Iteration.hpp b/include/openPMD/Iteration.hpp index e2a4e6b1a5..abce61eef7 100644 --- a/include/openPMD/Iteration.hpp +++ b/include/openPMD/Iteration.hpp @@ -136,7 +136,7 @@ namespace internal * of the owning map entry instead of a linear scan in * Series::indexOf(). */ - std::optional m_iterationIndex = 0; + std::optional m_iterationIndex = std::nullopt; /** * Information on a parsing request that has not yet been executed.