Author: enrico Date: Mon Mar 7 23:57:52 2016 New Revision: 262913 URL: http://llvm.org/viewvc/llvm-project?rev=262913&view=rev Log: Use .c_str() here to unbreak the Linux build
Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=262913&r1=262912&r2=262913&view=diff ============================================================================== --- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original) +++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Mon Mar 7 23:57:52 2016 @@ -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()); + defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().c_str()); AddAlias ("r", cmd_obj_sp, defaultshell.GetData()); AddAlias ("run", cmd_obj_sp, defaultshell.GetData()); #endif _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits