File tree Expand file tree Collapse file tree
include/bitcoin/network/messages/rpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,6 +104,11 @@ struct value_t
104104 value_t (const any_t & value) NOEXCEPT : inner_{ value } {}
105105 value_t (any_t && value) NOEXCEPT : inner_{ std::move (value) } {}
106106
107+ #if defined (HAVE_XCODE)
108+ value_t (size_t value) NOEXCEPT : inner_{
109+ system::possible_wide_cast<uint64_t >(value) } {}
110+ #endif
111+
107112 // / Forwarding constructors for in-place variant construction.
108113 FORWARD_VARIANT_CONSTRUCT (value_t , inner_)
109114 FORWARD_VARIANT_ASSIGNMENT (value_t , inner_)
@@ -122,7 +127,7 @@ struct value_t
122127 ALTERNATIVE_VARIANT_ASSIGNMENT (value_t , uint64_t , inner_)
123128 ALTERNATIVE_VARIANT_ASSIGNMENT (value_t , json_t , inner_)
124129 ALTERNATIVE_VARIANT_ASSIGNMENT (value_t , any_t , inner_)
125-
130+
126131 inner_t & value () NOEXCEPT
127132 {
128133 return inner_;
You can’t perform that action at this time.
0 commit comments