mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Fix compilation errors
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -37,6 +37,7 @@ public:
|
||||
using value_type = Asset;
|
||||
|
||||
STIssue() = default;
|
||||
STIssue(STIssue const& rhs) = default;
|
||||
|
||||
explicit STIssue(SerialIter& sit, SField const& name);
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user