From aec0c322d38d10a4e5f5bc563d1bf9ec2b7389c7 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 17 Sep 2010 18:39:57 +0000 Subject: [PATCH] Fixed build error of LLDBWrapPython.cpp by removing the "protected" access modifier. llvm-svn: 114194 --- lldb/include/lldb/API/SBStringList.h | 4 +--- lldb/source/API/SBStringList.cpp | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lldb/include/lldb/API/SBStringList.h b/lldb/include/lldb/API/SBStringList.h index 29d266f97458..24be39cd1203 100644 --- a/lldb/include/lldb/API/SBStringList.h +++ b/lldb/include/lldb/API/SBStringList.h @@ -36,7 +36,7 @@ public: AppendList (const char **strv, int strc); void - AppendList (lldb::SBStringList strings); + AppendList (const lldb::SBStringList &strings); uint32_t GetSize () const; @@ -47,8 +47,6 @@ public: void Clear (); -protected: - #ifndef SWIG const lldb_private::StringList * diff --git a/lldb/source/API/SBStringList.cpp b/lldb/source/API/SBStringList.cpp index f15200061f62..beb760632faf 100644 --- a/lldb/source/API/SBStringList.cpp +++ b/lldb/source/API/SBStringList.cpp @@ -94,7 +94,7 @@ SBStringList::AppendList (const char **strv, int strc) } void -SBStringList::AppendList (SBStringList strings) +SBStringList::AppendList (const SBStringList &strings) { if (strings.IsValid()) {