[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:
Rosen Penev 2020-06-06 15:16:50 -07:00 committed by ridiculousfish
parent 871a15bf58
commit 67e5473a11

View File

@ -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.