From bcb43a0234c2827f2c8b3ac8826c3384fb3fc6d3 Mon Sep 17 00:00:00 2001 From: gvolfing <gabor.volfinger@memgraph.io> Date: Thu, 11 Aug 2022 20:25:38 +0200 Subject: [PATCH] Include used utilites and chande the type of std::map<T, U> --- src/io/thrift/thrift_handle.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/io/thrift/thrift_handle.hpp b/src/io/thrift/thrift_handle.hpp index a617feb19..82b0a4e90 100644 --- a/src/io/thrift/thrift_handle.hpp +++ b/src/io/thrift/thrift_handle.hpp @@ -11,6 +11,10 @@ #pragma once +#include <condition_variable> +#include <map> +#include <mutex> + #include "io/message_conversion.hpp" #include "io/transport.hpp" @@ -32,7 +36,7 @@ class ThriftHandle { std::vector<OpaqueMessage> can_receive_; // TODO(tyler) thrift clients for each outbound address combination - std::map<Address, void> clients_; + std::map<Address, void *> clients_; public: template <Message M>