Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Oct 5, 2024
1 parent fce620e commit 47b9fed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/clp_ffi_js/ir/LogEventWithLevel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <utility>

#include <clp/ir/LogEvent.hpp>

#include <clp_ffi_js/constants.hpp>

namespace clp_ffi_js::ir {
Expand Down
3 changes: 1 addition & 2 deletions src/clp_ffi_js/ir/StreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ auto StreamReader::build() -> size_t {
cLogLevelNames.begin() + cValidLogLevelsBeginIdx,
cLogLevelNames.end(),
[&](std::string_view level) {
return logtype.substr(cLogLevelPositionInMessages)
.starts_with(level);
return logtype.substr(cLogLevelPositionInMessages).starts_with(level);
}
)};
if (log_level_name_it != cLogLevelNames.end()) {
Expand Down

0 comments on commit 47b9fed

Please sign in to comment.