aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.error/error.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.error/error.ccm')
-rw-r--r--nihil.error/error.ccm2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil.error/error.ccm b/nihil.error/error.ccm
index 2d5166a..833f7f1 100644
--- a/nihil.error/error.ccm
+++ b/nihil.error/error.ccm
@@ -225,7 +225,7 @@ export struct error : std::exception
// Allow error to be implicitly converted to std::expected and std::unexpected, to make
// using it with std::expected easier.
- template<typename T>
+ template <typename T>
operator std::expected<T, error> () && // NOLINT
{
return std::unexpected{std::move(*this)};