0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Renamed mus_point into microsecond_point

This commit is contained in:
rbock 2015-12-20 13:11:34 +01:00
parent 62a4dfc4f5
commit 27033a307c
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ namespace sqlpp
using days = std::chrono::duration<int, std::ratio_multiply<std::ratio<24>, std::chrono::hours::period>>; using days = std::chrono::duration<int, std::ratio_multiply<std::ratio<24>, std::chrono::hours::period>>;
using day_point = std::chrono::time_point<std::chrono::system_clock, days>; using day_point = std::chrono::time_point<std::chrono::system_clock, days>;
using mus_point = std::chrono::time_point<std::chrono::system_clock, std::chrono::microseconds>; using microsecond_point = std::chrono::time_point<std::chrono::system_clock, std::chrono::microseconds>;
} }
} }

View File

@ -35,7 +35,7 @@ namespace sqlpp
struct time_point struct time_point
{ {
using _traits = make_traits<time_point, tag::is_value_type>; using _traits = make_traits<time_point, tag::is_value_type>;
using _cpp_value_type = ::sqlpp::chrono::mus_point; using _cpp_value_type = ::sqlpp::chrono::microsecond_point;
template <typename T> template <typename T>
using _is_valid_operand = is_day_or_time_point_t<T>; using _is_valid_operand = is_day_or_time_point_t<T>;