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 @@ -479,7 +479,7 @@ void ADIOS2IOHandlerImpl::openPath(
479479 std::string prefix =
480480 filePositionToString ( setAndGetFilePosition ( writable->parent ) );
481481 std::string suffix = auxiliary::removeSlashes ( parameters.path );
482- std::string infix = suffix.empty () || auxiliary::ends_with ( prefix, ' /' )
482+ std::string infix = suffix.empty () || auxiliary::ends_with ( prefix, ' /' )
483483 ? " "
484484 : " /" ;
485485
Original file line number Diff line number Diff line change @@ -1491,13 +1491,13 @@ WriteIterations::operator[]( key_type && key )
14911491 }
14921492 }
14931493 shared->currentlyOpen = key;
1494- auto & res = shared->iterations [ std::move ( key ) ];
1494+ auto & res = shared->iterations [ key ];
14951495 if ( res.getStepStatus () == StepStatus::NoStep )
14961496 {
14971497 res.beginStep ();
14981498 res.setStepStatus ( StepStatus::DuringStep );
14991499 }
1500- shared->iterations .setAttribute ( " iterationIndex" , key );
1500+ shared->iterations .setAttribute ( " iterationIndex" , std::move ( key ) );
15011501 return res;
15021502}
15031503} // namespace openPMD
You can’t perform that action at this time.
0 commit comments