diff options
Diffstat (limited to 'lldb/source/Interpreter/CommandAlias.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandAlias.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandAlias.cpp b/lldb/source/Interpreter/CommandAlias.cpp index 5139c53a47b..5209a7bcbc4 100644 --- a/lldb/source/Interpreter/CommandAlias.cpp +++ b/lldb/source/Interpreter/CommandAlias.cpp @@ -65,7 +65,8 @@ static bool ProcessAliasOptionsArgs(lldb::CommandObjectSP &cmd_obj_sp, else { for (auto &entry : args.entries()) { if (!entry.ref().empty()) - option_arg_vector->emplace_back("<argument>", -1, entry.ref()); + option_arg_vector->emplace_back(std::string("<argument>"), -1, + std::string(entry.ref())); } } } |