<rdar://problem/11240464>
Correctly unique a class' methods when we detect that a class has been uniqued to another.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156795 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Target.cpp b/source/Target/Target.cpp
index 410d76f..031b2b1 100644
--- a/source/Target/Target.cpp
+++ b/source/Target/Target.cpp
@@ -291,11 +291,11 @@
lldb::BreakpointSP
Target::CreateBreakpoint (const FileSpecList *containingModules,
- const FileSpecList *containingSourceFiles,
- std::vector<std::string> func_names,
- uint32_t func_name_type_mask,
- bool internal,
- LazyBool skip_prologue)
+ const FileSpecList *containingSourceFiles,
+ const std::vector<std::string> &func_names,
+ uint32_t func_name_type_mask,
+ bool internal,
+ LazyBool skip_prologue)
{
BreakpointSP bp_sp;
size_t num_names = func_names.size();