From 67e5473a111fec351a619ada2dd85ad59af2e08c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 6 Jun 2020 15:16:50 -0700 Subject: [PATCH] [clang-tidy] remove pointless cstr Found with readability-convert-member-functions-to-static Signed-off-by: Rosen Penev --- src/fish_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index 88040b80c..3972bea63 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -3321,8 +3321,8 @@ static void test_input() { { auto input_mapping = input_mappings(); - input_mapping->add(prefix_binding.c_str(), L"up-line"); - input_mapping->add(desired_binding.c_str(), L"down-line"); + input_mapping->add(prefix_binding, L"up-line"); + input_mapping->add(desired_binding, L"down-line"); } // Push the desired binding to the queue.