mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-10 23:55:16 -08:00
Add basic REST tests and fix a few bugs (#103)
This commit is contained in:
committed by
Lee *!* Clagett
parent
f785cad557
commit
fe9d861dfb
@@ -110,7 +110,7 @@ namespace wire
|
||||
static constexpr bool optional_on_empty() noexcept
|
||||
{ return is_optional_on_empty<value_type>::value; }
|
||||
|
||||
static constexpr bool is_required() noexcept { return Required; }
|
||||
static constexpr bool is_required() noexcept { return Required && !optional_on_empty(); }
|
||||
static constexpr std::size_t count() noexcept { return 1; }
|
||||
static constexpr unsigned id() noexcept { return I; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user