Skip to content

Commit

Permalink
Some bug fixes after recent PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Nov 15, 2024
1 parent ab30cf1 commit 9dea327
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/IO/ADIOS/ADIOS2IOHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ void ADIOS2IOHandlerImpl::openFile(
// lazy opening is deathly in parallel situations
auto &fileData = getFileData(**file, IfFileNotOpen::OpenImplicitly);
*parameters.out_parsePreference = fileData.parsePreference;
m_dirty.emplace(std::move(file));
m_dirty.emplace(file);
}

void ADIOS2IOHandlerImpl::closeFile(
Expand Down Expand Up @@ -1560,6 +1560,7 @@ void ADIOS2IOHandlerImpl::deregister(
void ADIOS2IOHandlerImpl::touch(
Writable *writable, Parameter<Operation::TOUCH> const &)
{
refreshFileFromParent(writable, false);
this->m_dirty.emplace(writable->fileState);
}

Expand Down
1 change: 1 addition & 0 deletions src/IO/JSON/JSONIOHandlerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,7 @@ void JSONIOHandlerImpl::deregister(
void JSONIOHandlerImpl::touch(
Writable *writable, Parameter<Operation::TOUCH> const &)
{
refreshFileFromParent(writable, false);
this->m_dirty.emplace(writable->fileState);
}

Expand Down

0 comments on commit 9dea327

Please sign in to comment.