From 54a934db682576bc120b64f6881c46fc2fd26867 Mon Sep 17 00:00:00 2001 From: Gregory Tsipenyuk Date: Tue, 7 Jul 2026 11:26:52 -0400 Subject: [PATCH] Fix clang-tidy --- include/xrpl/tx/paths/detail/StrandFlow.h | 1 + src/test/protocol/STAmount_test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/xrpl/tx/paths/detail/StrandFlow.h b/include/xrpl/tx/paths/detail/StrandFlow.h index 8ebcdf430a..da9d027931 100644 --- a/include/xrpl/tx/paths/detail/StrandFlow.h +++ b/include/xrpl/tx/paths/detail/StrandFlow.h @@ -1,6 +1,7 @@ #pragma once #include +#include #include #include #include diff --git a/src/test/protocol/STAmount_test.cpp b/src/test/protocol/STAmount_test.cpp index fb09dfc75a..ee3a7bbd02 100644 --- a/src/test/protocol/STAmount_test.cpp +++ b/src/test/protocol/STAmount_test.cpp @@ -1048,8 +1048,8 @@ public: MPTIssue const asset{makeMptID(1, AccountID(0x4985601))}; Rate const transferRate{1'500'000'000}; - STAmount const largeAmount{asset, 1'230'000'000'000'000'000LL}; - STAmount const scaledAmount{asset, 1'845'000'000'000'000'000LL}; + STAmount const largeAmount{asset, UINT64_C(1'230'000'000'000'000'000)}; + STAmount const scaledAmount{asset, UINT64_C(1'845'000'000'000'000'000)}; auto rules = [](bool const mptV2) { // Rules keeps a reference to the presets set, so use static