diff options
Diffstat (limited to 'lib/ASTMatchers/ASTMatchersInternal.cpp')
-rw-r--r-- | lib/ASTMatchers/ASTMatchersInternal.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ASTMatchers/ASTMatchersInternal.cpp b/lib/ASTMatchers/ASTMatchersInternal.cpp index f69b347319..e7ee8ee7ed 100644 --- a/lib/ASTMatchers/ASTMatchersInternal.cpp +++ b/lib/ASTMatchers/ASTMatchersInternal.cpp @@ -22,7 +22,7 @@ void BoundNodesMap::copyTo(BoundNodesTreeBuilder *Builder) const { for (IDToNodeMap::const_iterator It = NodeMap.begin(); It != NodeMap.end(); ++It) { - Builder->setBinding(It->first, It->second.second); + Builder->setBinding(It->first, It->second); } } @@ -31,7 +31,6 @@ void BoundNodesMap::copyTo(BoundNodesMap *Other) const { inserter(Other->NodeMap, Other->NodeMap.begin())); } - BoundNodesTree::BoundNodesTree() {} BoundNodesTree::BoundNodesTree( |