Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry8192 committed Jan 6, 2025
1 parent a99ec2a commit 9ec039f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/clp_ffi_js/ir/StreamReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,12 @@ auto StreamReader::generic_get_log_event_index_by_timestamp(
return LogEventIdxTsType{emscripten::val::null()};
}
auto it = std::upper_bound(
log_events.begin(),
log_events.end(),
timestamp,
[](clp::ir::epoch_time_ms_t ts, LogEventWithFilterData<LogEvent> const& log_event) {
return ts < log_event.get_timestamp();
}
log_events.begin(),
log_events.end(),
timestamp,
[](clp::ir::epoch_time_ms_t ts, LogEventWithFilterData<LogEvent> const& log_event) {
return ts < log_event.get_timestamp();
}
);

if (it == log_events.begin()) {
Expand Down

0 comments on commit 9ec039f

Please sign in to comment.