Use the executor type in basic_stream timer

fix #1589
This commit is contained in:
Vinnie Falco
2019-10-15 15:48:42 -07:00
parent bafce23853
commit 087bcc4ef5
2 changed files with 48 additions and 1 deletions
+9 -1
View File
@@ -237,7 +237,15 @@ private:
op_state read;
op_state write;
net::steady_timer timer; // rate timer
#if 0
net::basic_waitable_timer<
std::chrono::steady_clock,
net::wait_traits<
std::chrono::steady_clock>,
Executor> timer; // rate timer;
#else
net::steady_timer timer;
#endif
int waiting = 0;
impl_type(impl_type&&) = default;