From 228ad1e98f64cfe29122e37d8bc94da563c6b95b Mon Sep 17 00:00:00 2001 From: Bart <11445373+bthomee@users.noreply.github.com> Date: Tue, 31 Mar 2026 17:33:15 -0400 Subject: [PATCH] Fix clang-tidy findings --- src/test/app/LedgerNodeHelpers_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/app/LedgerNodeHelpers_test.cpp b/src/test/app/LedgerNodeHelpers_test.cpp index 8f675d7d61..ec9bf0f42b 100644 --- a/src/test/app/LedgerNodeHelpers_test.cpp +++ b/src/test/app/LedgerNodeHelpers_test.cpp @@ -48,7 +48,7 @@ class LedgerNodeHelpers_test : public beast::unit_test::suite // Invalid: missing all fields. { - protocol::TMLedgerNode node; + protocol::TMLedgerNode const node; BEAST_EXPECT(!validateLedgerNode(node)); } @@ -192,7 +192,7 @@ class LedgerNodeHelpers_test : public beast::unit_test::suite auto const leafNode = intr_ptr::make_shared(leafItem, 1); // Truncate the data to trigger an exception in SHAMapTreeNode::makeAccountState when // the data is used to deserialize the node. - uint256 tag; + uint256 const tag; auto const leafData = serializeNode(leafNode).substr(0, tag.bytes - 1); auto const result = getTreeNode(leafData); BEAST_EXPECT(!result.has_value());