Skip to content

Commit cc718ff

Browse files
committed
Add missing constexpr in macro.
1 parent c977931 commit cc718ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bitcoin/system/types.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ constexpr type& assign(std::in_place_index_t<Index>, Args&&... args) NOEXCEPT \
243243

244244
/// Generate operator= overloads forwarding assignment for a specific alt type.
245245
#define FORWARD_ALTERNATIVE_VARIANT_ASSIGNMENT(type, Alternative, inner) \
246-
type& operator=(Alternative&& alternative) NOEXCEPT \
246+
constexpr type& operator=(Alternative&& alternative) NOEXCEPT \
247247
{ \
248248
inner.emplace<Alternative>(std::forward<Alternative>(alternative)); \
249249
return *this; \

0 commit comments

Comments
 (0)