summaryrefslogtreecommitdiffstats
path: root/util/generic/maybe.h
diff options
context:
space:
mode:
authorqwerty <[email protected]>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:25 +0300
commitca6b8a0150d5ee4cc8fb804d1285d9c32fb4fe88 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/maybe.h
parent34e37ee57f5837a8da2fdfaccaac9bbe6c7f02ba (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/maybe.h')
-rw-r--r--util/generic/maybe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/generic/maybe.h b/util/generic/maybe.h
index 9e70b39a083..34d21aebcdc 100644
--- a/util/generic/maybe.h
+++ b/util/generic/maybe.h
@@ -38,7 +38,7 @@ template <class T, class Policy /*= ::NMaybe::TPolicyUndefinedExcept*/>
class TMaybe: private TMaybeBase<T> {
public:
using TInPlace = NMaybe::TInPlace;
-
+
private:
static_assert(!std::is_same<std::remove_cv_t<T>, TNothing>::value,
"Instantiation of TMaybe with a TNothing type is ill-formed");