diff --git a/include/xrpl/protocol/TypedLedgerEntries.h b/include/xrpl/protocol/TypedLedgerEntries.h index c7ef397f4d..e3ba6783ed 100644 --- a/include/xrpl/protocol/TypedLedgerEntries.h +++ b/include/xrpl/protocol/TypedLedgerEntries.h @@ -143,7 +143,7 @@ public: return *array_; } - template + template ProxyType createItem(TArgs&&... args) { diff --git a/src/test/protocol/TypedLedgerEntries_test.cpp b/src/test/protocol/TypedLedgerEntries_test.cpp index df436d0c1b..bdc093ed02 100644 --- a/src/test/protocol/TypedLedgerEntries_test.cpp +++ b/src/test/protocol/TypedLedgerEntries_test.cpp @@ -30,7 +30,8 @@ struct TypedLedgerEntries_test : public beast::unit_test::suite { testcase("testAccessSTArrayProxy"); STArray innerArray; - STArrayProxy> array{&innerArray}; + STArrayProxy> array{ + &innerArray}; BEAST_EXPECT(array.empty()); auto item = array.createItem();