summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-09-16 16:07:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-09-16 16:07:31 +0000
commitb12ec91a3d548a044d40a0fb94323f39a2be1064 (patch)
tree3bc94c65c213c326c80e5d7f09e27ab9b27b3874
parent7309e6c7f16e933fec5d1ca28bbc69ba06dbeabc (diff)
downloadbcm5719-llvm-b12ec91a3d548a044d40a0fb94323f39a2be1064.tar.gz
bcm5719-llvm-b12ec91a3d548a044d40a0fb94323f39a2be1064.zip
Make this method static. Bad things(tm) happen when a non-static method is called in a constructor's initializer list.
llvm-svn: 114084
-rw-r--r--lldb/include/lldb/Core/Debugger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Core/Debugger.h b/lldb/include/lldb/Core/Debugger.h
index 0777a128ff6..e455452a409 100644
--- a/lldb/include/lldb/Core/Debugger.h
+++ b/lldb/include/lldb/Core/Debugger.h
@@ -77,7 +77,7 @@ protected:
bool
ValidTermWidthValue (const char *value, Error err);
- const ConstString
+ static const ConstString
CreateInstanceName ();
static const ConstString &
OpenPOWER on IntegriCloud