aboutsummaryrefslogtreecommitdiff
path: root/lib/expected.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-03 19:12:42 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-04 18:42:11 +0200
commit80499cc7619bb857c284e6e89db728ccee9c61f6 (patch)
tree5405d7ed5f6128157a2e39de0c8621141f490831 /lib/expected.h
parent3fa9afc796788e0c7f44db15c21a5ba1294d3b2d (diff)
downloadlibquotient-80499cc7619bb857c284e6e89db728ccee9c61f6.tar.gz
libquotient-80499cc7619bb857c284e6e89db728ccee9c61f6.zip
More cleanup
Diffstat (limited to 'lib/expected.h')
-rw-r--r--lib/expected.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/expected.h b/lib/expected.h
index 7b9e7f1d..81e186ea 100644
--- a/lib/expected.h
+++ b/lib/expected.h
@@ -21,11 +21,12 @@ public:
using error_type = E;
Expected() = default;
- explicit Expected(const Expected&) = default;
- explicit Expected(Expected&&) noexcept = default;
+ Expected(const Expected&) = default;
+ Expected(Expected&&) noexcept = default;
+ ~Expected() = default;
template <typename X, typename = enable_if_constructible_t<X>>
- Expected(X&& x)
+ QUO_IMPLICIT Expected(X&& x) // NOLINT(google-explicit-constructor)
: data(std::forward<X>(x))
{}