Clean-ups and fixes to compile with more warnings enabled and with g++.
[invirt/third/libt4.git] / rsm_client.h
index 06ca5a6..583ecbb 100644 (file)
@@ -25,7 +25,7 @@ class rsm_client {
         rsm_client(string dst);
 
         template<class P, class R, class ...Args>
-        int call(rpc_protocol::proc_t<P> proc, R & r, const Args & ...a1) {
+        inline int call(rpc_protocol::proc_t<P> proc, R & r, const Args & ...a1) {
             static_assert(is_valid_call<P, R, Args...>::value, "RSM method invoked with incorrect argument types");
             return call_m(proc.id, r, marshall(a1...));
         }