diff --git a/include/sqlpp11/chrono.h b/include/sqlpp11/chrono.h index be62e7d9..537e3731 100644 --- a/include/sqlpp11/chrono.h +++ b/include/sqlpp11/chrono.h @@ -36,7 +36,7 @@ namespace sqlpp using days = std::chrono::duration, std::chrono::hours::period>>; using day_point = std::chrono::time_point; - using mus_point = std::chrono::time_point; + using microsecond_point = std::chrono::time_point; } } diff --git a/include/sqlpp11/data_types/time_point/data_type.h b/include/sqlpp11/data_types/time_point/data_type.h index f4507a03..ad3f727e 100644 --- a/include/sqlpp11/data_types/time_point/data_type.h +++ b/include/sqlpp11/data_types/time_point/data_type.h @@ -35,7 +35,7 @@ namespace sqlpp struct time_point { using _traits = make_traits; - using _cpp_value_type = ::sqlpp::chrono::mus_point; + using _cpp_value_type = ::sqlpp::chrono::microsecond_point; template using _is_valid_operand = is_day_or_time_point_t;