diff --git a/include/thallium/engine.hpp b/include/thallium/engine.hpp index 49cc1998bcde3854e281d7a11621dcdba4936dca..8ba7e85fb8fc3114ab672b905e1ffd8c85cbf10d 100644 --- a/include/thallium/engine.hpp +++ b/include/thallium/engine.hpp @@ -90,7 +90,7 @@ private: */ template static void rpc_handler_ult(hg_handle_t handle) { - using G = std::remove_reference_t; + using G = typename std::remove_reference::type; const struct hg_info* info = margo_get_info(handle); margo_instance_id mid = margo_hg_handle_get_instance(handle); void* data = margo_registered_data(mid, info->id); @@ -384,7 +384,7 @@ remote_procedure engine::define(const std::string& name, std::function l = [&fun, &r](Args&&... args) { fun(r, std::forward(args)...); }; - std::tuple...> iargs; + std::tuple::type...> iargs; if(sizeof...(Args) > 0) { buffer_input_archive iarch(b, *this); iarch & iargs; diff --git a/include/thallium/packed_response.hpp b/include/thallium/packed_response.hpp index 6b7b3e1426b365fbc80b36e724c173fb52a9e5b6..c880568f603700b8ea6dc759344098c17c582da6 100644 --- a/include/thallium/packed_response.hpp +++ b/include/thallium/packed_response.hpp @@ -74,7 +74,9 @@ public: */ template auto as() const { - std::tuple, std::decay_t, std::decay_t...> t; + std::tuple::type, + typename std::decay::type, + typename std::decay_t::type...> t; buffer_input_archive iarch(m_buffer); iarch & t; return t;