aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/deprecated
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
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /library/cpp/deprecated
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
downloadydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/deprecated')
-rw-r--r--library/cpp/deprecated/kmp/kmp.h2
-rw-r--r--library/cpp/deprecated/split/split_iterator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/deprecated/kmp/kmp.h b/library/cpp/deprecated/kmp/kmp.h
index a7f72eece6..5c62a5ec81 100644
--- a/library/cpp/deprecated/kmp/kmp.h
+++ b/library/cpp/deprecated/kmp/kmp.h
@@ -7,7 +7,7 @@
template <typename T>
void ComputePrefixFunction(const T* begin, const T* end, ssize_t** result) {
- Y_ENSURE(begin != end, TStringBuf("empty pattern"));
+ Y_ENSURE(begin != end, TStringBuf("empty pattern"));
ssize_t len = end - begin;
TArrayHolder<ssize_t> resultHolder(new ssize_t[len + 1]);
ssize_t i = 0;
diff --git a/library/cpp/deprecated/split/split_iterator.h b/library/cpp/deprecated/split/split_iterator.h
index 0eacc29228..34af7f9843 100644
--- a/library/cpp/deprecated/split/split_iterator.h
+++ b/library/cpp/deprecated/split/split_iterator.h
@@ -273,7 +273,7 @@ public:
}
inline TSizeTRegion Next() {
- Y_ENSURE(!Eof(), TStringBuf("eof reached"));
+ Y_ENSURE(!Eof(), TStringBuf("eof reached"));
return Split.Next(Pos);
}