From a449698cdc52af553523e0364e2759949b155843 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Wed, 5 Oct 2016 21:14:38 +0000 Subject: Convert CommandObject constructors to StringRef. llvm-svn: 283384 --- lldb/source/Commands/CommandObjectSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectSource.cpp') diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index 55e724aed73..b0231a7333e 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -585,7 +585,7 @@ protected: if (argc != 0) { result.AppendErrorWithFormat("'%s' takes no arguments, only flags.\n", - GetCommandName()); + GetCommandName().str().c_str()); result.SetStatus(eReturnStatusFailed); return false; } @@ -990,7 +990,7 @@ protected: if (argc != 0) { result.AppendErrorWithFormat("'%s' takes no arguments, only flags.\n", - GetCommandName()); + GetCommandName().str().c_str()); result.SetStatus(eReturnStatusFailed); return false; } -- cgit v1.2.3