Use c_str() instead of GetCString() to fix build
llvm-svn: 262920
This commit is contained in:
parent
d8ac7c9f2d
commit
1ab4adb1d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue