Apply suggestions from code review

Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
Jingchen
2026-06-03 13:23:31 +01:00
committed by GitHub
parent 6e7ecb27a6
commit db2f1ccc33

View File

@@ -45,9 +45,8 @@ namespace xrpl::test {
* Provides a TestServiceRegistry (with an in-memory wallet DB) and a collection
* of helpers for building amendment sections, feature lists and validators.
*/
class AmendmentTableTest : public ::testing::Test
struct AmendmentTableTest : ::testing::Test
{
protected:
static uint256
amendmentId(std::string in)
{
@@ -123,7 +122,7 @@ protected:
template <class Arg, class... Args>
static std::size_t
totalsize(std::vector<Arg> const& src, Args const&... args)
totalSize(std::vector<Arg> const& src, Args const&... args)
{
if constexpr (sizeof...(args) > 0)
return src.size() + totalsize(args...);