Closer to cpp14 compliance for monero_c release branch

This commit is contained in:
Lee Clagett
2025-07-22 21:05:54 -04:00
parent 93d7ff1eeb
commit 17b706d44c
7 changed files with 42 additions and 39 deletions
+2 -2
View File
@@ -184,8 +184,8 @@ namespace lwsf { namespace internal { namespace rpc
{
using min_spent = wire::min_element_sizeof<crypto::key_image>;
std::optional<std::string> timestamp;
std::optional<epee::byte_slice> payment_id;
boost::optional<std::string> timestamp;
boost::optional<epee::byte_slice> payment_id;
wire::object(source,
WIRE_FIELD_ARRAY(spent_outputs, min_spent),
wire::optional_field("payment_id", std::ref(payment_id)),