Convert CommandObject constructors to StringRef.
llvm-svn: 283384
diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp
index 80d6419..9194b1d 100644
--- a/lldb/source/Commands/CommandObjectMultiword.cpp
+++ b/lldb/source/Commands/CommandObjectMultiword.cpp
@@ -143,7 +143,7 @@
}
} else {
result.AppendErrorWithFormat("'%s' does not have any subcommands.\n",
- GetCommandName());
+ GetCommandName().str().c_str());
result.SetStatus(eReturnStatusFailed);
}
}