Fix Vst3Bridge stderr logger

This was trying to free `std::cerr`, which of course won't work.
This commit is contained in:
Robbert van der Helm
2020-12-27 18:30:01 +01:00
parent 5773c471f9
commit d6a33b422d
+2 -2
View File
@@ -95,8 +95,8 @@ Logger Logger::create_wine_stderr() {
// We're logging directly to `std::cerr` instead of to `/dev/stderr` because
// we want the STDERR redirection from the group host processes to still
// function here
return Logger(std::shared_ptr<std::ostream>(&std::cerr), verbosity_level,
"");
return Logger(std::shared_ptr<std::ostream>(&std::cerr, [](auto*) {}),
verbosity_level, "");
}
void Logger::log(const std::string& message) {