aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/maybe.cpp
diff options
context:
space:
mode:
authormstebelev <mstebelev@yandex-team.ru>2022-02-10 16:47:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:17 +0300
commit93e9e4639b6ee2afbdf45cf3927cea6d340e19b0 (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/generic/maybe.cpp
parent5a176099114d03d5669e95a55a3a514bd24dd8b1 (diff)
downloadydb-93e9e4639b6ee2afbdf45cf3927cea6d340e19b0.tar.gz
Restoring authorship annotation for <mstebelev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/maybe.cpp')
-rw-r--r--util/generic/maybe.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/maybe.cpp b/util/generic/maybe.cpp
index b4c5cd119f9..43262934f87 100644
--- a/util/generic/maybe.cpp
+++ b/util/generic/maybe.cpp
@@ -1,6 +1,6 @@
#include "maybe.h"
#include <util/system/type_name.h>
-
+
[[noreturn]] void NMaybe::TPolicyUndefinedExcept::OnEmpty(const std::type_info& valueTypeInfo) {
ythrow yexception() << "TMaybe is empty, value type: "sv << TypeName(valueTypeInfo);
}
@@ -10,7 +10,7 @@
Y_FAIL("TMaybe is empty, value type: %s", typeName.c_str());
}
-template <>
-void Out<TNothing>(IOutputStream& o, const TNothing&) {
- o << "(empty maybe)";
-}
+template <>
+void Out<TNothing>(IOutputStream& o, const TNothing&) {
+ o << "(empty maybe)";
+}