[Lldb-commits] [lldb] r114084 - /lldb/trunk/include/lldb/Core/Debugger.h

Benjamin Kramer benny.kra at googlemail.com
Thu Sep 16 09:07:31 PDT 2010


Author: d0k
Date: Thu Sep 16 11:07:31 2010
New Revision: 114084

URL: http://llvm.org/viewvc/llvm-project?rev=114084&view=rev
Log:
Make this method static. Bad things(tm) happen when a non-static method is called in a constructor's initializer list.

Modified:
    lldb/trunk/include/lldb/Core/Debugger.h

Modified: lldb/trunk/include/lldb/Core/Debugger.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Debugger.h?rev=114084&r1=114083&r2=114084&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Debugger.h (original)
+++ lldb/trunk/include/lldb/Core/Debugger.h Thu Sep 16 11:07:31 2010
@@ -77,7 +77,7 @@
     bool
     ValidTermWidthValue (const char *value, Error err);
 
-    const ConstString
+    static const ConstString
     CreateInstanceName ();
 
     static const ConstString &





More information about the lldb-commits mailing list