From 80f649323ae5c7ed91040d3dfffa4c341f2dba7e Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 16 Apr 2021 14:12:48 +0200 Subject: [PATCH] Add missing const qualification I just noticed this while looking at the diff of this commit. --- src/wine-host/bridges/vst3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wine-host/bridges/vst3.cpp b/src/wine-host/bridges/vst3.cpp index e9464859..06657152 100644 --- a/src/wine-host/bridges/vst3.cpp +++ b/src/wine-host/bridges/vst3.cpp @@ -240,7 +240,7 @@ void Vst3Bridge::run() { -> Vst3PluginProxy::GetState::Response { // NOTE: The VST3 version of Algonaut Atlas doesn't restore // state unless this function is run from the GUI thread - tresult result = + const tresult result = main_context .run_in_context([&]() { // This same function is defined in both