diff options
author | tobo <tobo@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
commit | 7fe839092527589b38f014d854c51565b3c1adfa (patch) | |
tree | 309e97022d3530044b712b8f71318c78faf7856e /util/generic/maybe.cpp | |
parent | d0d68c395c10da4cb56a1c845504570a04d7893e (diff) | |
download | ydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz |
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/maybe.cpp')
-rw-r--r-- | util/generic/maybe.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/maybe.cpp b/util/generic/maybe.cpp index 43262934f8..6ce4627190 100644 --- a/util/generic/maybe.cpp +++ b/util/generic/maybe.cpp @@ -1,13 +1,13 @@ #include "maybe.h" -#include <util/system/type_name.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); +[[noreturn]] void NMaybe::TPolicyUndefinedExcept::OnEmpty(const std::type_info& valueTypeInfo) { + ythrow yexception() << "TMaybe is empty, value type: "sv << TypeName(valueTypeInfo); } -[[noreturn]] void NMaybe::TPolicyUndefinedFail::OnEmpty(const std::type_info& valueTypeInfo) { - const TString typeName = TypeName(valueTypeInfo); - Y_FAIL("TMaybe is empty, value type: %s", typeName.c_str()); +[[noreturn]] void NMaybe::TPolicyUndefinedFail::OnEmpty(const std::type_info& valueTypeInfo) { + const TString typeName = TypeName(valueTypeInfo); + Y_FAIL("TMaybe is empty, value type: %s", typeName.c_str()); } template <> |