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:
parent
62a4dfc4f5
commit
27033a307c
@ -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>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>;
|
||||||
|
Loading…
Reference in New Issue
Block a user