From 930195e69a36f5f8025f6db33b1d8f979a2a8ba1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 6 Sep 2012 08:26:38 +0200 Subject: Use default_value_traits instead of value_traits --- odb/boost/date-time/mssql/gregorian-traits.hxx | 2 +- odb/boost/date-time/mssql/posix-time-traits.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/odb/boost/date-time/mssql/gregorian-traits.hxx b/odb/boost/date-time/mssql/gregorian-traits.hxx index 9bec87c..32aba6a 100644 --- a/odb/boost/date-time/mssql/gregorian-traits.hxx +++ b/odb/boost/date-time/mssql/gregorian-traits.hxx @@ -18,7 +18,7 @@ namespace odb namespace mssql { template <> - class value_traits< ::boost::gregorian::date, id_date> + class default_value_traits< ::boost::gregorian::date, id_date> { public: typedef ::boost::gregorian::date value_type; diff --git a/odb/boost/date-time/mssql/posix-time-traits.hxx b/odb/boost/date-time/mssql/posix-time-traits.hxx index 666e9b9..e88386f 100644 --- a/odb/boost/date-time/mssql/posix-time-traits.hxx +++ b/odb/boost/date-time/mssql/posix-time-traits.hxx @@ -18,7 +18,7 @@ namespace odb namespace mssql { template <> - class value_traits< ::boost::posix_time::ptime, id_datetime> + class default_value_traits< ::boost::posix_time::ptime, id_datetime> { public: typedef ::boost::posix_time::ptime ptime; @@ -107,7 +107,7 @@ namespace odb }; template <> - class value_traits< ::boost::posix_time::time_duration, id_time> + class default_value_traits< ::boost::posix_time::time_duration, id_time> { public: typedef ::boost::posix_time::time_duration time_duration; -- cgit v1.1