parent
34c738116c
commit
2bc6398d3e
@ -192,5 +192,5 @@ template <> class Result<void>
|
||||
({ \
|
||||
auto _expr_rc = (expr); \
|
||||
if (!_expr_rc.has_value()) return _expr_rc.release_error(); \
|
||||
_expr_rc.expect_release_value("sanity check failed: has_error() returned false, yet result has no value"); \
|
||||
_expr_rc.release_value(); \
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user