diff --git a/src/common/logging/common.cpp b/src/common/logging/common.cpp index 152868f2..c9877479 100644 --- a/src/common/logging/common.cpp +++ b/src/common/logging/common.cpp @@ -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::cerr), verbosity_level, - ""); + return Logger(std::shared_ptr(&std::cerr, [](auto*) {}), + verbosity_level, ""); } void Logger::log(const std::string& message) {