mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 09:46:53 +00:00
chore: Enable clang-tidy misc checks (#6655)
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
std::optional<Blob>
|
||||
getNode(SHAMapHash const& nodeHash) const override
|
||||
{
|
||||
Map::iterator it = mMap.find(nodeHash);
|
||||
Map::iterator const it = mMap.find(nodeHash);
|
||||
if (it == mMap.end())
|
||||
{
|
||||
JLOG(mJournal.fatal()) << "Test filter missing node";
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
test::SuiteJournal journal("FetchPack_test", *this);
|
||||
|
||||
TestNodeFamily f(journal);
|
||||
std::shared_ptr<Table> t1(std::make_shared<Table>(SHAMapType::FREE, f));
|
||||
std::shared_ptr<Table> const t1(std::make_shared<Table>(SHAMapType::FREE, f));
|
||||
|
||||
pass();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user