summaryrefslogtreecommitdiff
path: root/src/common/dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dispatcher.h')
-rw-r--r--src/common/dispatcher.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/dispatcher.h b/src/common/dispatcher.h
index def73ed..9e29580 100644
--- a/src/common/dispatcher.h
+++ b/src/common/dispatcher.h
@@ -57,13 +57,10 @@ Type Dispatcher::methodCall(Args &&...args)
connect();
m_connection->send(BinaryQueue::Serialize(std::forward<Args>(args)...).pop());
-
BinaryQueue q;
q.push(m_connection->receive());
-
Type response;
q.Deserialize(response);
-
return response;
}