aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/diff
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/cpp/diff
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
downloadydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/diff')
-rw-r--r--library/cpp/diff/diff.cpp4
-rw-r--r--library/cpp/diff/diff.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/diff/diff.cpp b/library/cpp/diff/diff.cpp
index 658a269371..be57da7f39 100644
--- a/library/cpp/diff/diff.cpp
+++ b/library/cpp/diff/diff.cpp
@@ -42,7 +42,7 @@ struct TCollection {
template <>
struct TCollection<char>: public TCollectionImpl<char> {
- TCollection(const TStringBuf& str, const TString& delims) {
+ TCollection(const TStringBuf& str, const TString& delims) {
TSetDelimiter<const char> set(delims.data());
TKeepDelimiters<TCollection<char>> c(this);
SplitString(str.begin(), str.end(), set, c);
@@ -51,7 +51,7 @@ struct TCollection<char>: public TCollectionImpl<char> {
template <>
struct TCollection<wchar16>: public TCollectionImpl<wchar16> {
- TCollection(const TWtringBuf& str, const TUtf16String& delims) {
+ TCollection(const TWtringBuf& str, const TUtf16String& delims) {
TSetDelimiter<const wchar16> set(delims.data());
TKeepDelimiters<TCollection<wchar16>> c(this);
SplitString(str.begin(), str.end(), set, c);
diff --git a/library/cpp/diff/diff.h b/library/cpp/diff/diff.h
index 9b6a199c72..94fb00cd0b 100644
--- a/library/cpp/diff/diff.h
+++ b/library/cpp/diff/diff.h
@@ -109,4 +109,4 @@ namespace NDiff {
size_t InlineDiff(TVector<TChunk<char>>& chunks, const TStringBuf& left, const TStringBuf& right, const TString& delims = TString());
size_t InlineDiff(TVector<TChunk<wchar16>>& chunks, const TWtringBuf& left, const TWtringBuf& right, const TUtf16String& delims = TUtf16String());
-}
+}