mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix compilation errors
This commit is contained in:
@@ -701,7 +701,7 @@ to_json(ripple::Number const& number)
|
|||||||
struct to_json_fn
|
struct to_json_fn
|
||||||
{
|
{
|
||||||
template <typename T>
|
template <typename T>
|
||||||
constexpr Value
|
Value
|
||||||
operator()(T&& t) const
|
operator()(T&& t) const
|
||||||
{
|
{
|
||||||
return to_json(std::forward<T>(t));
|
return to_json(std::forward<T>(t));
|
||||||
@@ -711,12 +711,9 @@ struct to_json_fn
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
struct static_const
|
struct static_const
|
||||||
{
|
{
|
||||||
static constexpr T value{};
|
static constexpr T value = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
constexpr T static_const<T>::value;
|
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ public:
|
|||||||
using value_type = Asset;
|
using value_type = Asset;
|
||||||
|
|
||||||
STIssue() = default;
|
STIssue() = default;
|
||||||
|
STIssue(STIssue const& rhs) = default;
|
||||||
|
|
||||||
explicit STIssue(SerialIter& sit, SField const& name);
|
explicit STIssue(SerialIter& sit, SField const& name);
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
#include <test/jtx/xchain_bridge.h>
|
#include <test/jtx/xchain_bridge.h>
|
||||||
#include <xrpl/protocol/Feature.h>
|
#include <xrpl/protocol/Feature.h>
|
||||||
#include <xrpl/protocol/jss.h>
|
#include <xrpl/protocol/jss.h>
|
||||||
#include <format>
|
|
||||||
|
|
||||||
namespace ripple {
|
namespace ripple {
|
||||||
namespace test {
|
namespace test {
|
||||||
|
|||||||
Reference in New Issue
Block a user