[Lldb-commits] [lldb] r317144 - [XML] Simplify lambda removing unused capture. NFCI.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 1 16:48:08 PDT 2017
Author: davide
Date: Wed Nov 1 16:48:07 2017
New Revision: 317144
URL: http://llvm.org/viewvc/llvm-project?rev=317144&view=rev
Log:
[XML] Simplify lambda removing unused capture. NFCI.
Modified:
lldb/trunk/source/Host/common/XML.cpp
Modified: lldb/trunk/source/Host/common/XML.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/XML.cpp?rev=317144&r1=317143&r2=317144&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/XML.cpp (original)
+++ lldb/trunk/source/Host/common/XML.cpp Wed Nov 1 16:48:07 2017
@@ -339,7 +339,7 @@ XMLNode XMLNode::FindFirstChildElementWi
#if defined(LIBXML2_DEFINED)
ForEachChildElementWithName(
- name, [&result_node, name](const XMLNode &node) -> bool {
+ name, [&result_node](const XMLNode &node) -> bool {
result_node = node;
// Stop iterating, we found the node we wanted
return false;
More information about the lldb-commits
mailing list