Commit f4eac74c authored by Jakob Otto's avatar Jakob Otto

Fix template of transport_worker_ptr

parent a8e8b0fd
...@@ -63,6 +63,7 @@ public: ...@@ -63,6 +63,7 @@ public:
transport_.set_timeout(next_timeout_id_, std::forward<Ts>(xs)...); transport_.set_timeout(next_timeout_id_, std::forward<Ts>(xs)...);
return next_timeout_id_++; return next_timeout_id_++;
} }
// -- interface functions ---------------------------------------------------- // -- interface functions ----------------------------------------------------
error init() override { error init() override {
......
...@@ -90,8 +90,9 @@ private: ...@@ -90,8 +90,9 @@ private:
id_type id_; id_type id_;
}; };
template <class Application> template <class Application, class IdType = unit_t>
using transport_worker_ptr = std::shared_ptr<transport_worker<Application>>; using transport_worker_ptr = std::shared_ptr<
transport_worker<Application, IdType>>;
} // namespace net } // namespace net
} // namespace caf } // namespace caf
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment