From 706b83ed7de5a473436620367af31fc0ceecde07 Mon Sep 17 00:00:00 2001 From: Vlad Yaroslavlev Date: Thu, 10 Feb 2022 16:46:23 +0300 Subject: Restoring authorship annotation for Vlad Yaroslavlev . Commit 1 of 2. --- library/cpp/diff/diff.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'library/cpp/diff/diff.cpp') diff --git a/library/cpp/diff/diff.cpp b/library/cpp/diff/diff.cpp index be57da7f396..581afc29ac1 100644 --- a/library/cpp/diff/diff.cpp +++ b/library/cpp/diff/diff.cpp @@ -7,8 +7,8 @@ template struct TCollectionImpl { - TVector> Words; - TVector Keys; + TVector> Words; + TVector Keys; inline bool Consume(const T* b, const T* e, const T*) { if (b < e) { @@ -64,7 +64,7 @@ size_t NDiff::InlineDiff(TVector>& chunks, const TStringBuf& left, } TCollection c1(left, delims); TCollection c2(right, delims); - TVector> diff; + TVector> diff; const size_t dist = InlineDiff(diff, c1.GetKeys(), c2.GetKeys()); for (const auto& it : diff) { chunks.push_back(TChunk(c1.Remap(it.Left), c2.Remap(it.Right), c1.Remap(it.Common))); @@ -78,7 +78,7 @@ size_t NDiff::InlineDiff(TVector>& chunks, const TWtringBuf& lef } TCollection c1(left, delims); TCollection c2(right, delims); - TVector> diff; + TVector> diff; const size_t dist = InlineDiff(diff, c1.GetKeys(), c2.GetKeys()); for (const auto& it : diff) { chunks.push_back(TChunk(c1.Remap(it.Left), c2.Remap(it.Right), c1.Remap(it.Common))); -- cgit v1.3