mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
[clang-tidy] remove pointless cstr
Found with readability-convert-member-functions-to-static Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
871a15bf58
commit
67e5473a11
|
@ -3321,8 +3321,8 @@ static void test_input() {
|
||||||
|
|
||||||
{
|
{
|
||||||
auto input_mapping = input_mappings();
|
auto input_mapping = input_mappings();
|
||||||
input_mapping->add(prefix_binding.c_str(), L"up-line");
|
input_mapping->add(prefix_binding, L"up-line");
|
||||||
input_mapping->add(desired_binding.c_str(), L"down-line");
|
input_mapping->add(desired_binding, L"down-line");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Push the desired binding to the queue.
|
// Push the desired binding to the queue.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user