summaryrefslogtreecommitdiff
path: root/modules/remote/c++/remote_loopback.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-22 14:24:32 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-22 14:24:32 +0200
commit98cf3372f2ed4e61ccb0acc522549aaa3d18fd59 (patch)
tree10f876ed648977c6246496801a4525abf123adf1 /modules/remote/c++/remote_loopback.hpp
parentf2a1a3f56768d9aa03796808206f067daa5e0aa0 (diff)
Fixing interface deduction type
Diffstat (limited to 'modules/remote/c++/remote_loopback.hpp')
-rw-r--r--modules/remote/c++/remote_loopback.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/remote/c++/remote_loopback.hpp b/modules/remote/c++/remote_loopback.hpp
index 8763b68..c651589 100644
--- a/modules/remote/c++/remote_loopback.hpp
+++ b/modules/remote/c++/remote_loopback.hpp
@@ -58,19 +58,19 @@ class rpc_server<Iface, Encode, rmt::Loopback> {
public:
using InterfaceT = interface<Iface, Encode>;
using TypeGroup = typename schema_iface_type_group<Iface>::Type;
- using DataServers = typename impl::tmpl_group_to_data_server_ptr_std_tuple<TypeGroup>::type;
+ using DataServers = typename impl::tmpl_group_to_data_server_ptr_std_tuple<TypeGroup, Encode, rmt::Loopback>::type;
private:
ptr<remote<rmt::Loopback>> remote_;
- const ptr<remote_address<rmt::Loopback>> addr_;
+ ptr<remote_address<rmt::Loopback>> addr_;
InterfaceT iface_;
DataServers dat_srvs_;
public:
- rpc_server(ptr<remote<rmt::Loopback>> remote__, const remote_address<rmt::Loopback>& addr__, InterfaceT iface__, DataServers data_srvs__):
+ rpc_server(ptr<remote<rmt::Loopback>> remote__, remote_address<rmt::Loopback>& addr__, InterfaceT iface__, DataServers dat_srvs__):
remote_{remote__},
addr_{addr__},
iface_{std::move(iface__)},
- data_srvs_{data_srvs__}
+ dat_srvs_{dat_srvs__}
{}
template<string_literal Lit>
@@ -78,7 +78,7 @@ public:
id<
typename schema_member_type<Lit, Iface>::type::Response
>
- > call(id<schema_member_type<Lit, Iface>::type::Request> id_param){
+ > call(id<typename schema_member_type<Lit, Iface>::type::Request> id_param){
return make_error<err::not_implemented>();
}