Skip to content

Commit

Permalink
Fix after rebase: Init JSON config in parallel mode
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Oct 11, 2023
1 parent 8899b99 commit 2f562ed
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/IO/JSON/JSONIOHandlerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,16 @@ JSONIOHandlerImpl::JSONIOHandlerImpl(
, m_fileFormat{format}
, m_originalExtension{std::move(originalExtension)}
{
// Currently unused
(void)config;
std::tie(m_mode, m_IOModeSpecificationVia) = retrieveDatasetMode(config);
std::tie(m_attributeMode, m_attributeModeSpecificationVia) =
retrieveAttributeMode(config);

if (auto [_, backendConfig] = getBackendConfig(config);
backendConfig.has_value())
{
(void)_;
warnUnusedJson(backendConfig.value());
}
}
#endif

Expand Down

0 comments on commit 2f562ed

Please sign in to comment.