Commit ce59dff1 authored by Ramon Nou's avatar Ramon Nou
Browse files

Generic call + specific call collision avoided

parent 78cade41
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -194,9 +194,10 @@ public:
    * Deprecated call, used to support Margo directly
    *
    **/
    template <typename T1 = void*, typename T2 = void*>
    [[deprecated("It should be eventually replaced by a generic call")]]
    void
    call(const std::string& id, void* input = nullptr, void* output = nullptr) {
    call(const std::string& id, T1 input = nullptr, T2 output = nullptr) {

        const auto it = m_margo_context->m_rpc_names.find(id);