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 /library/cpp/int128 | |
parent | d0d68c395c10da4cb56a1c845504570a04d7893e (diff) | |
download | ydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz |
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/int128')
-rw-r--r-- | library/cpp/int128/int128.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/int128/int128.h b/library/cpp/int128/int128.h index f1121fc0c6..7a21021bcd 100644 --- a/library/cpp/int128/int128.h +++ b/library/cpp/int128/int128.h @@ -1030,7 +1030,7 @@ inline ui128 FromStringImpl<ui128>(const char* data, size_t length) { const TStringBuf string(data, length); for (auto&& c : string) { if (!std::isdigit(c)) { - ythrow TFromStringException() << "Unexpected symbol \""sv << c << "\""sv; + ythrow TFromStringException() << "Unexpected symbol \""sv << c << "\""sv; } ui128 x1 = result; @@ -1042,7 +1042,7 @@ inline ui128 FromStringImpl<ui128>(const char* data, size_t length) { result = x10 + s; if (GetHigh(result) < GetHigh(x1)) { - ythrow TFromStringException() << TStringBuf("Integer overflow"); + ythrow TFromStringException() << TStringBuf("Integer overflow"); } } @@ -1237,7 +1237,7 @@ inline i128 FromStringImpl<i128>(const char* data, size_t length) { const TStringBuf string(data, length); for (auto&& c : string) { if (!std::isdigit(c)) { - ythrow TFromStringException() << "Unexpected symbol \""sv << c << "\""sv; + ythrow TFromStringException() << "Unexpected symbol \""sv << c << "\""sv; } i128 x1 = result; @@ -1249,7 +1249,7 @@ inline i128 FromStringImpl<i128>(const char* data, size_t length) { result = x10 + s; if (GetHigh(result) < GetHigh(x1)) { - ythrow TFromStringException() << TStringBuf("Integer overflow"); + ythrow TFromStringException() << TStringBuf("Integer overflow"); } } |