aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp b/llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
index 93a567e..64f1bfc0 100644
--- a/llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
+++ b/llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
@@ -263,7 +263,7 @@ bool LVScope::removeElement(LVElement *Element) {
return Item == Element;
};
auto RemoveElement = [Element, Predicate](auto &Container) -> bool {
- auto Iter = std::remove_if(Container->begin(), Container->end(), Predicate);
+ auto Iter = llvm::remove_if(*Container, Predicate);
if (Iter != Container->end()) {
Container->erase(Iter, Container->end());
Element->resetParent();