From f40f306ba8efd432a756353c763c6819216bdb01 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Sat, 16 Dec 2023 22:32:52 +0000 Subject: [PATCH] `errored_status_code(const status_code &v)` had not been upgraded to take `in_place_t` to match `status_code`. Fixed. --- include/status-code/errored_status_code.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/status-code/errored_status_code.hpp b/include/status-code/errored_status_code.hpp index 93a9ed9..f119df9 100644 --- a/include/status-code/errored_status_code.hpp +++ b/include/status-code/errored_status_code.hpp @@ -153,7 +153,7 @@ template class errored_status_code : public status_code_value; } + constexpr const value_type &value() const & noexcept { return this->_value; } }; namespace traits @@ -270,8 +270,8 @@ template class errored_status_code #if defined(_CPPUNWIND) || defined(__EXCEPTIONS) || defined(STANDARDESE_IS_IN_THE_HOUSE) //! Explicit copy construction from an unknown status code. Note that this will be empty if its value type is not trivially copyable or would not fit into our //! storage or the source domain's `_do_erased_copy()` refused the copy. - explicit errored_status_code(const status_code &v) // NOLINT - : _base(v) + explicit errored_status_code(in_place_t _, const status_code &v) // NOLINT + : _base(_, v) { _check(); }