aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/boost/date-time/mysql/gregorian-traits.hxx2
-rw-r--r--odb/boost/date-time/mysql/posix-time-traits.hxx11
2 files changed, 7 insertions, 6 deletions
diff --git a/odb/boost/date-time/mysql/gregorian-traits.hxx b/odb/boost/date-time/mysql/gregorian-traits.hxx
index d907aef..d30dbb8 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 value_traits< ::boost::gregorian::date, MYSQL_TIME, id_date>
+ class default_value_traits< ::boost::gregorian::date, MYSQL_TIME, 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 35f1413..81e7454 100644
--- a/odb/boost/date-time/mysql/posix-time-traits.hxx
+++ b/odb/boost/date-time/mysql/posix-time-traits.hxx
@@ -21,7 +21,8 @@ namespace odb
namespace mysql
{
template <>
- class value_traits< ::boost::posix_time::ptime, MYSQL_TIME, id_datetime>
+ class default_value_traits<
+ ::boost::posix_time::ptime, MYSQL_TIME, id_datetime>
{
public:
typedef ::boost::posix_time::ptime ptime;
@@ -69,7 +70,8 @@ namespace odb
};
template <>
- class value_traits< ::boost::posix_time::ptime, MYSQL_TIME, id_timestamp>
+ class default_value_traits<
+ ::boost::posix_time::ptime, MYSQL_TIME, id_timestamp>
{
public:
typedef ::boost::posix_time::ptime ptime;
@@ -122,9 +124,8 @@ namespace odb
};
template <>
- class value_traits< ::boost::posix_time::time_duration,
- MYSQL_TIME,
- id_time>
+ class default_value_traits<
+ ::boost::posix_time::time_duration, MYSQL_TIME, id_time>
{
public:
typedef ::boost::posix_time::time_duration time_duration;