diff options
Diffstat (limited to 'odb/boost/date-time/mysql')
-rw-r--r-- | odb/boost/date-time/mysql/gregorian-traits.hxx | 2 | ||||
-rw-r--r-- | odb/boost/date-time/mysql/posix-time-traits.hxx | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/odb/boost/date-time/mysql/gregorian-traits.hxx b/odb/boost/date-time/mysql/gregorian-traits.hxx index d30dbb8..4beb877 100644 --- a/odb/boost/date-time/mysql/gregorian-traits.hxx +++ b/odb/boost/date-time/mysql/gregorian-traits.hxx @@ -20,7 +20,7 @@ namespace odb namespace mysql { template <> - class default_value_traits< ::boost::gregorian::date, MYSQL_TIME, id_date> + class default_value_traits< ::boost::gregorian::date, id_date> { public: typedef ::boost::gregorian::date date; diff --git a/odb/boost/date-time/mysql/posix-time-traits.hxx b/odb/boost/date-time/mysql/posix-time-traits.hxx index 81e7454..5346b36 100644 --- a/odb/boost/date-time/mysql/posix-time-traits.hxx +++ b/odb/boost/date-time/mysql/posix-time-traits.hxx @@ -21,8 +21,7 @@ namespace odb namespace mysql { template <> - class default_value_traits< - ::boost::posix_time::ptime, MYSQL_TIME, id_datetime> + class default_value_traits< ::boost::posix_time::ptime, id_datetime> { public: typedef ::boost::posix_time::ptime ptime; @@ -70,8 +69,7 @@ namespace odb }; template <> - class default_value_traits< - ::boost::posix_time::ptime, MYSQL_TIME, id_timestamp> + class default_value_traits< ::boost::posix_time::ptime, id_timestamp> { public: typedef ::boost::posix_time::ptime ptime; @@ -124,8 +122,7 @@ namespace odb }; template <> - class default_value_traits< - ::boost::posix_time::time_duration, MYSQL_TIME, id_time> + class default_value_traits< ::boost::posix_time::time_duration, id_time> { public: typedef ::boost::posix_time::time_duration time_duration; |