diff options
author | Ewan Crawford <ewan@codeplay.com> | 2016-03-08 10:03:23 +0000 |
---|---|---|
committer | Ewan Crawford <ewan@codeplay.com> | 2016-03-08 10:03:23 +0000 |
commit | 1ab4adb1d3355e8bbd14fb90d320efa8606a7764 (patch) | |
tree | cd3cb41ebdb9c420c3a4c0a476d85e0d01f2d106 | |
parent | d8ac7c9f2d0967bbf03868000d1592f2196e5f7e (diff) | |
download | bcm5719-llvm-1ab4adb1d3355e8bbd14fb90d320efa8606a7764.tar.gz bcm5719-llvm-1ab4adb1d3355e8bbd14fb90d320efa8606a7764.zip |
Use c_str() instead of GetCString() to fix build
llvm-svn: 262920
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 2e46687dabd..3733ac1a772 100644 --- 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 |