aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/BreakpointPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/BreakpointPrinter.cpp')
-rw-r--r--tools/opt/BreakpointPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/BreakpointPrinter.cpp b/tools/opt/BreakpointPrinter.cpp
index 44f4a11..3cbc0ae 100644
--- a/tools/opt/BreakpointPrinter.cpp
+++ b/tools/opt/BreakpointPrinter.cpp
@@ -62,7 +62,7 @@ struct BreakpointPrinter : public ModulePass {
continue;
getContextName(SP.getContext().resolve(TypeIdentifierMap), Name);
Name = Name + SP.getDisplayName().str();
- if (!Name.empty() && Processed.insert(Name)) {
+ if (!Name.empty() && Processed.insert(Name).second) {
Out << Name << "\n";
}
}