diff options
Diffstat (limited to 'src/mongo/util/periodic_runner_asio.h')
-rw-r--r-- | src/mongo/util/periodic_runner_asio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/util/periodic_runner_asio.h b/src/mongo/util/periodic_runner_asio.h index e5be509f0ea..dcf11429594 100644 --- a/src/mongo/util/periodic_runner_asio.h +++ b/src/mongo/util/periodic_runner_asio.h @@ -37,6 +37,8 @@ namespace mongo { +class Client; + /** * A PeriodicRunner implementation that uses the ASIO library's eventing system * to schedule and run jobs at regular intervals. @@ -106,6 +108,7 @@ private: asio::io_service _io_service; asio::io_service::strand _strand; + Client* _client; stdx::thread _thread; std::unique_ptr<executor::AsyncTimerFactoryInterface> _timerFactory; |