File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ void ADIOS2IOHandlerImpl::openPath(
475475 std::string prefix =
476476 filePositionToString ( setAndGetFilePosition ( writable->parent ) );
477477 std::string suffix = auxiliary::removeSlashes ( parameters.path );
478- std::string infix = suffix.empty () || auxiliary::ends_with ( prefix, ' /' )
478+ std::string infix = suffix.empty () || auxiliary::ends_with ( prefix, ' /' )
479479 ? " "
480480 : " /" ;
481481
Original file line number Diff line number Diff line change @@ -1464,13 +1464,13 @@ WriteIterations::operator[]( key_type && key )
14641464 }
14651465 }
14661466 shared->currentlyOpen = key;
1467- auto & res = shared->iterations [ std::move ( key ) ];
1467+ auto & res = shared->iterations [ key ];
14681468 if ( res.getStepStatus () == StepStatus::NoStep )
14691469 {
14701470 res.beginStep ();
14711471 res.setStepStatus ( StepStatus::DuringStep );
14721472 }
1473- shared->iterations .setAttribute ( " iterationIndex" , key );
1473+ shared->iterations .setAttribute ( " iterationIndex" , std::move ( key ) );
14741474 return res;
14751475}
14761476} // namespace openPMD
You can’t perform that action at this time.
0 commit comments