From baa58daefa91fde4b4769facdbd2903763b9c6a8 Mon Sep 17 00:00:00 2001 From: danlark Date: Thu, 10 Feb 2022 16:46:10 +0300 Subject: Restoring authorship annotation for . Commit 2 of 2. --- library/cpp/diff/diff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/cpp/diff/diff.cpp') diff --git a/library/cpp/diff/diff.cpp b/library/cpp/diff/diff.cpp index d516de5a6a3..be57da7f396 100644 --- a/library/cpp/diff/diff.cpp +++ b/library/cpp/diff/diff.cpp @@ -43,7 +43,7 @@ struct TCollection { template <> struct TCollection: public TCollectionImpl { TCollection(const TStringBuf& str, const TString& delims) { - TSetDelimiter set(delims.data()); + TSetDelimiter set(delims.data()); TKeepDelimiters> c(this); SplitString(str.begin(), str.end(), set, c); } @@ -60,7 +60,7 @@ struct TCollection: public TCollectionImpl { size_t NDiff::InlineDiff(TVector>& chunks, const TStringBuf& left, const TStringBuf& right, const TString& delims) { if (delims.empty()) { - return InlineDiff(chunks, TConstArrayRef(left.data(), left.size()), TConstArrayRef(right.data(), right.size())); + return InlineDiff(chunks, TConstArrayRef(left.data(), left.size()), TConstArrayRef(right.data(), right.size())); } TCollection c1(left, delims); TCollection c2(right, delims); -- cgit v1.3