Swap read_object arguments to match write_object

This commit is contained in:
Robbert van der Helm
2020-12-30 16:38:19 +01:00
parent ecd9d6c2df
commit 42b9cf902c
3 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ class Vst3MessageHandler : public AdHocSocketHandler<Thread> {
this->template send<std::monostate>(
[&](boost::asio::local::stream_protocol::socket& socket) {
write_object(socket, Request(object), buffer);
read_object<TResponse>(socket, buffer, response_object);
read_object<TResponse>(socket, response_object, buffer);
// FIXME: We have to return something here, and ML was not yet
// invented when they came up with C++ so void is not
// valid here