Only pass Logger reference to AdHocSocketHandler

The boolean flag wasn't used, and it doesn't make any sense in the
context of VST3.
This commit is contained in:
Robbert van der Helm
2020-12-04 14:03:07 +01:00
parent 19eb33a7e2
commit e889ad22e2
2 changed files with 16 additions and 18 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ class EventHandler : public AdHocSocketHandler<Thread> {
};
this->receive_multi(
logging,
logging ? std::optional(std::ref(logging->first)) : std::nullopt,
[&](boost::asio::local::stream_protocol::socket& socket) {
process_event(socket, true);
},