From e0efa48aa85fd4015c0af2a434f2ec4f3f9539ce Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 23 May 2021 19:44:14 +0200 Subject: [PATCH] Get rid of redundant string conversion Not sure how this snuck in there. --- src/wine-host/bridges/vst3.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wine-host/bridges/vst3.cpp b/src/wine-host/bridges/vst3.cpp index ecb44b69..277cd725 100644 --- a/src/wine-host/bridges/vst3.cpp +++ b/src/wine-host/bridges/vst3.cpp @@ -404,8 +404,7 @@ void Vst3Bridge::run() { .edit_controller->getParamValueByString( request.id, const_cast( - u16string_to_tchar_pointer( - request.string.c_str())), + u16string_to_tchar_pointer(request.string)), value_normalized); return YaEditController::GetParamValueByStringResponse{