Small code cleanups
This commit is contained in:
parent
dcd8f6ef01
commit
9f0bca53c4
|
@ -386,8 +386,7 @@ String expand_impl(StringView str, const Context& context,
|
|||
String expand(StringView str, const Context& context,
|
||||
const ShellContext& shell_context)
|
||||
{
|
||||
return expand_impl(str, context, shell_context,
|
||||
[](String s) { return std::move(s); });
|
||||
return expand_impl(str, context, shell_context, [](String s){ return s; });
|
||||
}
|
||||
|
||||
String expand(StringView str, const Context& context,
|
||||
|
|
|
@ -936,7 +936,6 @@ private:
|
|||
LineEditor m_line_editor;
|
||||
bool m_autoshowcompl;
|
||||
PromptFlags m_flags;
|
||||
bool m_history_drop_blank_prefix;
|
||||
|
||||
using History = Vector<String, MemoryDomain::History>;
|
||||
static UnorderedMap<String, History, MemoryDomain::History> ms_history;
|
||||
|
|
Loading…
Reference in New Issue
Block a user