diff --git a/src/lib/diff/tree-diff-application.hpp b/src/lib/diff/tree-diff-application.hpp index 055ac813e..a9ea44dcb 100644 --- a/src/lib/diff/tree-diff-application.hpp +++ b/src/lib/diff/tree-diff-application.hpp @@ -233,7 +233,12 @@ namespace diff{ { Iter end_of_scope = src().currIsAttrib()? src().attribs.end() : src().children.end(); - return std::find (srcPos(), end_of_scope, elm); + return std::find_if (srcPos() + ,end_of_scope + ,[&](auto& entry) + { + return entry.matches(elm); + }); } GenNode const& diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index 56a1bbdce..111db1b0f 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -2008,9 +2008,6 @@ - - -