Fix compilation errors

This commit is contained in:
Bronek Kozicki
2024-12-18 13:12:41 +00:00
parent ecec6e5d33
commit eae2cd3328
3 changed files with 3 additions and 6 deletions

View File

@@ -701,7 +701,7 @@ to_json(ripple::Number const& number)
struct to_json_fn
{
template <typename T>
constexpr Value
Value
operator()(T&& t) const
{
return to_json(std::forward<T>(t));
@@ -711,12 +711,9 @@ struct to_json_fn
template <typename T>
struct static_const
{
static constexpr T value{};
static constexpr T value = {};
};
template <typename T>
constexpr T static_const<T>::value;
} // namespace detail
namespace {

View File

@@ -37,6 +37,7 @@ public:
using value_type = Asset;
STIssue() = default;
STIssue(STIssue const& rhs) = default;
explicit STIssue(SerialIter& sit, SField const& name);

View File

@@ -22,7 +22,6 @@
#include <test/jtx/xchain_bridge.h>
#include <xrpl/protocol/Feature.h>
#include <xrpl/protocol/jss.h>
#include <format>
namespace ripple {
namespace test {