data: don't parse lambda calls to avoid subnodes within functions

This commit is contained in:
Eberhard Graether
2015-11-06 14:50:25 +01:00
parent 50bc970c30
commit 372f262204
6 changed files with 73 additions and 327 deletions
@@ -19,7 +19,7 @@ public:
template <template<class, class> class ContainerType>
static ContainerType<Range, std::allocator<Range>> mergeAdjacent(ContainerType<Range, std::allocator<Range>> ranges, int rowDifference = 1)
{
for (size_t i = 0; i < ranges.size() - 1; i++)
for (size_t i = 0; i + 1 < ranges.size(); i++)
{
const Range first = ranges[i];
const Range second = ranges[i + 1];