diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-06-23 11:03:50 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-06-23 11:03:50 +1000 |
| commit | 4a00a6edead9f35ebc5f538cefc35c778e2dbe49 (patch) | |
| tree | 41433eff8374605168ddb13a88de5f12f05ed613 /src/context.cc | |
| parent | 6493ddad421bf5376165af5c0f5ab6fe31d77035 (diff) | |
Fix trailing whitespaces
Diffstat (limited to 'src/context.cc')
| -rw-r--r-- | src/context.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.cc b/src/context.cc index 62171674..46d9cd58 100644 --- a/src/context.cc +++ b/src/context.cc @@ -424,7 +424,7 @@ StringView Context::main_sel_register_value(StringView reg) const return RegisterManager::instance()[reg].get_main(*this, index); } -void Context::set_name(String name) { +void Context::set_name(String name) { String old_name = std::exchange(m_name, std::move(name)); hooks().run_hook(Hook::ClientRenamed, format("{}:{}", old_name, m_name), *this); } |
