diff options
author | yazevnul <yazevnul@yandex-team.ru> | 2022-02-10 16:46:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:48 +0300 |
commit | 9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/string/type.cpp | |
parent | 8cbc307de0221f84c80c42dcbe07d40727537e2c (diff) | |
download | ydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz |
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string/type.cpp')
-rw-r--r-- | util/string/type.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/string/type.cpp b/util/string/type.cpp index 668b445afa..49671c02c2 100644 --- a/util/string/type.cpp +++ b/util/string/type.cpp @@ -24,11 +24,11 @@ static bool IsNumberT(const TStringType& s) noexcept { return std::all_of(s.begin(), s.end(), IsAsciiDigit<typename TStringType::value_type>); } -bool IsNumber(const TStringBuf s) noexcept { +bool IsNumber(const TStringBuf s) noexcept { return IsNumberT(s); } -bool IsNumber(const TWtringBuf s) noexcept { +bool IsNumber(const TWtringBuf s) noexcept { return IsNumberT(s); } @@ -41,11 +41,11 @@ static bool IsHexNumberT(const TStringType& s) noexcept { return std::all_of(s.begin(), s.end(), IsAsciiHex<typename TStringType::value_type>); } -bool IsHexNumber(const TStringBuf s) noexcept { +bool IsHexNumber(const TStringBuf s) noexcept { return IsHexNumberT(s); } -bool IsHexNumber(const TWtringBuf s) noexcept { +bool IsHexNumber(const TWtringBuf s) noexcept { return IsHexNumberT(s); } |