style: clang-tidy auto fixes (#2107)

Fixes #2106. 

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-05-13 12:06:39 +01:00
committed by GitHub
parent 59282f764d
commit 00aff5cfe0
3 changed files with 8 additions and 9 deletions

View File

@@ -1324,7 +1324,7 @@ TEST_F(CacheBackendCassandraTest, CacheFetchLedgerBySeq)
{
runSpawn([&](boost::asio::yield_context yield) {
auto rawHeaderBlob = hexStringToBinaryString(kRAWHEADER);
ripple::LedgerHeader lgrInfo = util::deserializeHeader(ripple::makeSlice(rawHeaderBlob));
ripple::LedgerHeader const lgrInfo = util::deserializeHeader(ripple::makeSlice(rawHeaderBlob));
backend_->writeLedger(lgrInfo, std::move(rawHeaderBlob));
auto const testLedgerSeq = lgrInfo.seq;
@@ -1333,7 +1333,7 @@ TEST_F(CacheBackendCassandraTest, CacheFetchLedgerBySeq)
EXPECT_CALL(getMockCache(), put(data::FetchLedgerCache::CacheEntry{lgrInfo, testLedgerSeq}));
{
testing::InSequence s;
testing::InSequence const s;
// first time, getSeq doesn't match ledger sequence
EXPECT_CALL(getMockCache(), get()).WillOnce(testing::Return(std::nullopt));
@@ -1359,7 +1359,7 @@ TEST_F(CacheBackendCassandraTest, CacheFetchLedgerBySeq)
}
struct BackendCassandraNodeMessageTest : BackendCassandraTest {
boost::uuids::random_generator generateUuid;
boost::uuids::random_generator generateUuid{};
};
TEST_F(BackendCassandraNodeMessageTest, UpdateFetch)