diff options
Diffstat (limited to 'option.h')
-rw-r--r-- | option.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ struct option { } } - constexpr option(option&& op) : m_has_value{op.has_value()} { + constexpr option(option&& op) noexcept : m_has_value{op.has_value()} { if (op.m_has_value) { // Move construct from inner VALUE of OP. new (m_value) T(std::move(op.take())); |