diff --git a/include/zeus/expected.hpp b/include/zeus/expected.hpp index 50c286f..fa29889 100644 --- a/include/zeus/expected.hpp +++ b/include/zeus/expected.hpp @@ -1778,7 +1778,7 @@ class expected { using U = expected_detail::remove_cvref_tm_val))>>; static_assert(expected_detail::is_specialization_v, "U (return type of F) must be specialization of expected"); - static_assert(std::is_same_v, "The error type must be the same after calling the F"); + static_assert(std::is_same_v, "The error type must be the same after calling the F"); if (has_value()) return std::invoke(std::forward(f), std::move(this->m_val)); @@ -1790,7 +1790,7 @@ class expected { using U = expected_detail::remove_cvref_tm_val))>>; static_assert(expected_detail::is_specialization_v, "U (return type of F) must be specialization of expected"); - static_assert(std::is_same_v, "The error type must be the same after calling the F"); + static_assert(std::is_same_v, "The error type must be the same after calling the F"); if (has_value()) return std::invoke(std::forward(f), std::move(this->m_val)); @@ -2469,7 +2469,7 @@ class expected { using U = expected_detail::remove_cvref_t>; static_assert(expected_detail::is_specialization_v, "U (return type of F) must be specialization of expected"); - static_assert(std::is_same_v, "The error type must be the same after calling the F"); + static_assert(std::is_same_v, "The error type must be the same after calling the F"); if (has_value()) return std::invoke(std::forward(f)); @@ -2481,7 +2481,7 @@ class expected { using U = expected_detail::remove_cvref_t>; static_assert(expected_detail::is_specialization_v, "U (return type of F) must be specialization of expected"); - static_assert(std::is_same_v, "The error type must be the same after calling the F"); + static_assert(std::is_same_v, "The error type must be the same after calling the F"); if (has_value()) return std::invoke(std::forward(f));