Use c_str() instead of GetCString() to fix build

llvm-svn: 262920
This commit is contained in:
Ewan Crawford 2016-03-08 10:03:23 +00:00
parent d8ac7c9f2d
commit 1ab4adb1d3
1 changed files with 1 additions and 1 deletions

View File

@ -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