diff --git a/include/sqlpp11/current_date.h b/include/sqlpp11/current_date.h index 5f0cf47d..79bf1a27 100644 --- a/include/sqlpp11/current_date.h +++ b/include/sqlpp11/current_date.h @@ -35,32 +35,7 @@ namespace sqlpp { using _traits = make_traits; - using _nodes = detail::type_vector<>; - using _can_be_null = std::false_type; - - struct _alias_t - { - static constexpr const char _literal[] = "current_date_"; - using _name_t = sqlpp::make_char_sequence; - template - struct _member_t - { - T current_date; - T& operator()() - { - return current_date; - } - const T& operator()() const - { - return current_date; - } - }; - }; - - constexpr current_date_t() - { - } - + constexpr current_date_t() = default; current_date_t(const current_date_t&) = default; current_date_t(current_date_t&&) = default; current_date_t& operator=(const current_date_t&) = default; diff --git a/include/sqlpp11/current_time.h b/include/sqlpp11/current_time.h index 89a27313..dcb015b3 100644 --- a/include/sqlpp11/current_time.h +++ b/include/sqlpp11/current_time.h @@ -35,32 +35,7 @@ namespace sqlpp { using _traits = make_traits; - using _nodes = detail::type_vector<>; - using _can_be_null = std::false_type; - - struct _alias_t - { - static constexpr const char _literal[] = "current_time_"; - using _name_t = sqlpp::make_char_sequence; - template - struct _member_t - { - T current_time; - T& operator()() - { - return current_time; - } - const T& operator()() const - { - return current_time; - } - }; - }; - - constexpr current_time_t() - { - } - + constexpr current_time_t() = default; current_time_t(const current_time_t&) = default; current_time_t(current_time_t&&) = default; current_time_t& operator=(const current_time_t&) = default; diff --git a/include/sqlpp11/current_timestamp.h b/include/sqlpp11/current_timestamp.h index fe549c6b..78b874fa 100644 --- a/include/sqlpp11/current_timestamp.h +++ b/include/sqlpp11/current_timestamp.h @@ -35,32 +35,7 @@ namespace sqlpp { using _traits = make_traits; - using _nodes = detail::type_vector<>; - using _can_be_null = std::false_type; - - struct _alias_t - { - static constexpr const char _literal[] = "current_timestamp_"; - using _name_t = sqlpp::make_char_sequence; - template - struct _member_t - { - T current_timestamp; - T& operator()() - { - return current_timestamp; - } - const T& operator()() const - { - return current_timestamp; - } - }; - }; - - constexpr current_timestamp_t() - { - } - + constexpr current_timestamp_t() = default; current_timestamp_t(const current_timestamp_t&) = default; current_timestamp_t(current_timestamp_t&&) = default; current_timestamp_t& operator=(const current_timestamp_t&) = default;