From e262bc1adb43b1a361bf7a4ab9be8fa4701393ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 14 Jan 2015 09:15:34 +0000 Subject: [PATCH] follow up tweak --- ...allow-comparing-documents-which-only-differ-by-frame.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0001-allow-comparing-documents-which-only-differ-by-frame.patch b/0001-allow-comparing-documents-which-only-differ-by-frame.patch index 7af0dd5..d9350e1 100644 --- a/0001-allow-comparing-documents-which-only-differ-by-frame.patch +++ b/0001-allow-comparing-documents-which-only-differ-by-frame.patch @@ -390,7 +390,7 @@ index 8634835..043d2d4 100644 + Comparators aComparisons(buildComparators(rSrcDoc, *this)); - nRet = aD1.ShowDiffs( aD0 ); -+ for (auto a : aComparisons) ++ for (auto& a : aComparisons) + { + CompareData& rD0 = *a.first.get(); + CompareData& rD1 = *a.second.get(); @@ -405,7 +405,7 @@ index 8634835..043d2d4 100644 nsRedlineMode_t::REDLINE_SHOW_INSERT | nsRedlineMode_t::REDLINE_SHOW_DELETE)); - aD1.SetRedlinesToDoc( !bDocWasModified ); -+ for (auto a : aComparisons) ++ for (auto& a : aComparisons) + { + CompareData& rD1 = *a.second.get(); + rD1.SetRedlinesToDoc( !bDocWasModified );