From d4356b045384f1d21f208d5d6a9da17aa29a849a Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Wed, 15 Jul 2015 21:37:55 +0200 Subject: [PATCH] Move comparators to struct --- contractor/processing_chain.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/contractor/processing_chain.cpp b/contractor/processing_chain.cpp index 513dbd7fb..e7831446a 100644 --- a/contractor/processing_chain.cpp +++ b/contractor/processing_chain.cpp @@ -141,6 +141,16 @@ void Prepare::FindComponents(unsigned max_edge_id, const DeallocatingVector; std::vector edges; @@ -171,16 +181,8 @@ void Prepare::FindComponents(unsigned max_edge_id, const DeallocatingVector(max_edge_id+1, edges);