[Lldb-commits] [lldb] r114194 - in /lldb/trunk: include/lldb/API/SBStringList.h source/API/SBStringList.cpp

Johnny Chen johnny.chen at apple.com
Fri Sep 17 13:39:57 CDT 2010


Author: johnny
Date: Fri Sep 17 13:39:57 2010
New Revision: 114194

URL: http://llvm.org/viewvc/llvm-project?rev=114194&view=rev
Log:
Fixed build error of LLDBWrapPython.cpp by removing the "protected" access modifier.

Modified:
    lldb/trunk/include/lldb/API/SBStringList.h
    lldb/trunk/source/API/SBStringList.cpp

Modified: lldb/trunk/include/lldb/API/SBStringList.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBStringList.h?rev=114194&r1=114193&r2=114194&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBStringList.h (original)
+++ lldb/trunk/include/lldb/API/SBStringList.h Fri Sep 17 13:39:57 2010
@@ -36,7 +36,7 @@
     AppendList (const char **strv, int strc);
 
     void
-    AppendList (lldb::SBStringList strings);
+    AppendList (const lldb::SBStringList &strings);
 
     uint32_t
     GetSize () const;
@@ -47,8 +47,6 @@
     void
     Clear ();
 
-protected:
-
 #ifndef SWIG
 
     const lldb_private::StringList *

Modified: lldb/trunk/source/API/SBStringList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBStringList.cpp?rev=114194&r1=114193&r2=114194&view=diff
==============================================================================
--- lldb/trunk/source/API/SBStringList.cpp (original)
+++ lldb/trunk/source/API/SBStringList.cpp Fri Sep 17 13:39:57 2010
@@ -94,7 +94,7 @@
 }
 
 void
-SBStringList::AppendList (SBStringList strings)
+SBStringList::AppendList (const SBStringList &strings)
 {
     if (strings.IsValid())
     {




More information about the lldb-commits mailing list