Commit 7c54a6ec authored by Dominik Charousset's avatar Dominik Charousset

Expose handler type

parent f665b0b3
...@@ -48,6 +48,8 @@ public: ...@@ -48,6 +48,8 @@ public:
using unique_pointer = mailbox_element_ptr; using unique_pointer = mailbox_element_ptr;
using handler_type = std::unique_ptr<inbound_path>;
static task_size_type task_size(const mailbox_element& x) noexcept; static task_size_type task_size(const mailbox_element& x) noexcept;
// -- constructors, destructors, and assignment operators ------------------ // -- constructors, destructors, and assignment operators ------------------
...@@ -69,7 +71,7 @@ public: ...@@ -69,7 +71,7 @@ public:
// -- member variables ----------------------------------------------------- // -- member variables -----------------------------------------------------
std::unique_ptr<inbound_path> handler; handler_type handler;
}; };
// -- member types ----------------------------------------------------------- // -- member types -----------------------------------------------------------
......
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