Skip to content

Commit

Permalink
Use braces for declarations - Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: kirkrodrigues <[email protected]>
  • Loading branch information
junhaoliao and kirkrodrigues authored Nov 7, 2024
1 parent a4c2c07 commit b940296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clp_ffi_js/ir/StructuredIrStreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ auto StructuredIrStreamReader::create(
auto deserialized_log_events{std::make_shared<std::vector<clp::ffi::KeyValuePairLogEvent>>()};
auto result{StructuredIrDeserializer::create(
*zstd_decompressor,
IrUnitHandler(
IrUnitHandler{
deserialized_log_events,
reader_options["logLevelKey"].as<std::string>(),
reader_options["timestampKey"].as<std::string>()
)
}
)};
if (result.has_error()) {
auto const error_code{result.error()};
Expand Down

0 comments on commit b940296

Please sign in to comment.