aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/string_utils
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/string_utils
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/string_utils')
-rw-r--r--library/cpp/string_utils/scan/ya.make22
-rw-r--r--library/cpp/string_utils/url/url.cpp4
2 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/string_utils/scan/ya.make b/library/cpp/string_utils/scan/ya.make
index 2faae86b09..9b05c04db1 100644
--- a/library/cpp/string_utils/scan/ya.make
+++ b/library/cpp/string_utils/scan/ya.make
@@ -1,11 +1,11 @@
-OWNER(
- g:util
-)
-
-LIBRARY()
-
-SRCS(
- scan.cpp
-)
-
-END()
+OWNER(
+ g:util
+)
+
+LIBRARY()
+
+SRCS(
+ scan.cpp
+)
+
+END()
diff --git a/library/cpp/string_utils/url/url.cpp b/library/cpp/string_utils/url/url.cpp
index 85f4ac5d69..5e4ce24fb0 100644
--- a/library/cpp/string_utils/url/url.cpp
+++ b/library/cpp/string_utils/url/url.cpp
@@ -36,8 +36,8 @@ namespace {
template <typename TChar1, typename TChar2>
int Compare1Case2(const TChar1* s1, const TChar2* s2, size_t n) {
for (size_t i = 0; i < n; ++i) {
- if ((TChar1)ToLower(s1[i]) != s2[i])
- return (TChar1)ToLower(s1[i]) < s2[i] ? -1 : 1;
+ if ((TChar1)ToLower(s1[i]) != s2[i])
+ return (TChar1)ToLower(s1[i]) < s2[i] ? -1 : 1;
}
return 0;
}