projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8ac7c9
)
Use c_str() instead of GetCString() to fix build
author
Ewan Crawford
<ewan@codeplay.com>
Tue, 8 Mar 2016 10:03:23 +0000
(10:03 +0000)
committer
Ewan Crawford
<ewan@codeplay.com>
Tue, 8 Mar 2016 10:03:23 +0000
(10:03 +0000)
llvm-svn: 262920
lldb/source/Interpreter/CommandInterpreter.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Interpreter/CommandInterpreter.cpp
b/lldb/source/Interpreter/CommandInterpreter.cpp
index
2e46687
..
3733ac1
100644
(file)
--- a/
lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/
lldb/source/Interpreter/CommandInterpreter.cpp
@@
-461,7
+461,7
@@
CommandInterpreter::Initialize ()
AddAlias ("run", cmd_obj_sp, "--shell-expand-args true --");
#else
StreamString defaultshell;
- defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().
GetCString
());
+ defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().
c_str
());
AddAlias ("r", cmd_obj_sp, defaultshell.GetData());
AddAlias ("run", cmd_obj_sp, defaultshell.GetData());
#endif