Skip to content

Commit

Permalink
style: Fix include (#1687)
Browse files Browse the repository at this point in the history
Fixes #1686
  • Loading branch information
kuznetsss authored Oct 16, 2024
1 parent 2f40cde commit a210117
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rpc/RPCHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ ledgerHeaderFromRequest(std::shared_ptr<data::BackendInterface const> const& bac
}
} else if (indexValue.is_int64()) {
ledgerSequence = indexValue.as_int64();
}
}
} else {
ledgerSequence = ctx.range.maxSequence;
}
Expand Down
1 change: 1 addition & 0 deletions tests/common/util/TestHttpServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <boost/beast/http/error.hpp>
#include <boost/beast/http/message.hpp>
#include <boost/beast/http/message_generator.hpp>
#include <boost/beast/http/read.hpp> // IWYU pragma: keep
#include <boost/beast/http/string_body.hpp>
#include <gtest/gtest.h>

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/rpc/handlers/LedgerEntryTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2960,7 +2960,7 @@ TEST_F(RPCLedgerEntryDeathTest, RangeNotAvailable)
));
checkCalled = true;
EXPECT_DEATH(
{ [[maybe_unused]] auto _ = handler.process(req, Context{yield}); }, "Ledger range must be available"
{ [[maybe_unused]] auto _unused2 = handler.process(req, Context{yield}); }, "Ledger range must be available"
);
});

Expand Down

0 comments on commit a210117

Please sign in to comment.