time_point_t.hpp 459 B

1234567891011121314151617181920
  1. // Copyright Takatoshi Kondo 2020
  2. //
  3. // Distributed under the Boost Software License, Version 1.0.
  4. // (See accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. #if !defined(MQTT_TIME_POINT_T_HPP)
  7. #define MQTT_TIME_POINT_T_HPP
  8. #include <mqtt/config.hpp>
  9. #include <chrono>
  10. namespace MQTT_NS {
  11. using time_point_t = std::chrono::time_point<std::chrono::steady_clock>;
  12. } // namespace MQTT_NS
  13. #endif // MQTT_TIME_POINT_T_HPP