Explicitly instantiate steady clock with std::chrono
autodetection seems to fail on travis
This commit is contained in:
parent
b52571d8d9
commit
7f204f026a
2 changed files with 3 additions and 3 deletions
|
@ -39,8 +39,6 @@
|
|||
#include <csignal>
|
||||
#include <ctime>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include <boost/iostreams/filter/gzip.hpp>
|
||||
#include <boost/exception/get_error_info.hpp>
|
||||
#include <boost/random.hpp>
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
#include <boost/unordered_map.hpp>
|
||||
#include <boost/asio/steady_timer.hpp>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
namespace campaignd {
|
||||
|
||||
/**
|
||||
|
@ -95,7 +97,7 @@ private:
|
|||
|
||||
void handle_sighup(const boost::system::error_code& error, int signal_number);
|
||||
|
||||
boost::asio::steady_timer flush_timer_;
|
||||
boost::asio::basic_waitable_timer<std::chrono::steady_clock> flush_timer_;
|
||||
/**
|
||||
* Starts timer to write config to disk every ten minutes.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue