aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/int128
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/int128
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/int128')
-rw-r--r--library/cpp/int128/int128.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/int128/int128.h b/library/cpp/int128/int128.h
index 7a21021bcd..f1121fc0c6 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");
}
}