Use maxbase time and clock classes instead of std::chrono

This commit is contained in:
Esa Korhonen
2018-09-26 16:49:33 +03:00
parent 05d18e81ae
commit fe81b399b2
5 changed files with 10 additions and 22 deletions

View File

@ -12,7 +12,6 @@
*/
#pragma once
#include "mariadbmon_common.hh"
#include <chrono>
#include <functional>
#include <string>
#include <memory>
@ -56,7 +55,7 @@ public:
* */
/* Time of the latest gtid event or heartbeat the slave connection has received, timed by the monitor. */
std::chrono::steady_clock::time_point last_data_time = std::chrono::steady_clock::now();
maxbase::Clock::time_point last_data_time = maxbase::Clock::now();
std::string to_string() const;