Skip to content

Commit ace844a

Browse files
committed
Fixing support for more advanced versions of boost.
1 parent 320e34b commit ace844a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/simple_pos/Session.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void Session::sendPosPoll()
104104
using OutNavPosllhPoll = cc_ublox::message::NavPosllhPoll<OutMessage>;
105105
sendMessage(OutNavPosllhPoll());
106106

107-
m_pollTimer.expires_from_now(std::chrono::seconds(1));
107+
m_pollTimer.expires_after(std::chrono::seconds(1));
108108
m_pollTimer.async_wait(
109109
[this](const boost::system::error_code& ec) {
110110
if (ec == boost::asio::error::operation_aborted) {

0 commit comments

Comments
 (0)