diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-18 18:29:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-19 08:39:01 +0200 |
commit | d2d963635cc6c4b10024946098ce1a0f68a94682 (patch) | |
tree | 93f2afa61e409ff29a0cccc04fc703e0e8c9fc0f | |
parent | 53a30dbef3bb9d60946e96adc88c4a6c1073f566 (diff) |
Get rid of image type argument in value_traits
-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 | ||||
-rw-r--r-- | odb/boost/date-time/sqlite/gregorian-traits.hxx | 6 | ||||
-rw-r--r-- | odb/boost/date-time/sqlite/posix-time-traits.hxx | 12 |
4 files changed, 10 insertions, 19 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; diff --git a/odb/boost/date-time/sqlite/gregorian-traits.hxx b/odb/boost/date-time/sqlite/gregorian-traits.hxx index b9ffd4c..f11af0a 100644 --- a/odb/boost/date-time/sqlite/gregorian-traits.hxx +++ b/odb/boost/date-time/sqlite/gregorian-traits.hxx @@ -30,8 +30,7 @@ namespace odb namespace sqlite { template <> - class default_value_traits< - ::boost::gregorian::date, details::buffer, id_text> + class default_value_traits< ::boost::gregorian::date, id_text> { public: typedef ::boost::gregorian::date date; @@ -83,8 +82,7 @@ namespace odb }; template <> - class default_value_traits< - ::boost::gregorian::date, long long, id_integer> + class default_value_traits< ::boost::gregorian::date, id_integer> { public: typedef ::boost::gregorian::date date; diff --git a/odb/boost/date-time/sqlite/posix-time-traits.hxx b/odb/boost/date-time/sqlite/posix-time-traits.hxx index 0b8b338..926b682 100644 --- a/odb/boost/date-time/sqlite/posix-time-traits.hxx +++ b/odb/boost/date-time/sqlite/posix-time-traits.hxx @@ -29,8 +29,7 @@ namespace odb namespace sqlite { template <> - class default_value_traits< - ::boost::posix_time::ptime, details::buffer, id_text> + class default_value_traits< ::boost::posix_time::ptime, id_text> { public: typedef ::boost::posix_time::ptime ptime; @@ -96,8 +95,7 @@ namespace odb // SQLite INTEGER. The integer value represents UNIX time. // template <> - class default_value_traits< - ::boost::posix_time::ptime, long long, id_integer> + class default_value_traits< ::boost::posix_time::ptime, id_integer> { public: typedef ::boost::gregorian::date date; @@ -138,8 +136,7 @@ namespace odb }; template <> - class default_value_traits< - ::boost::posix_time::time_duration, details::buffer, id_text> + class default_value_traits< ::boost::posix_time::time_duration, id_text> { public: typedef ::boost::posix_time::time_duration time_duration; @@ -193,8 +190,7 @@ namespace odb }; template <> - class default_value_traits< - ::boost::posix_time::time_duration, long long, id_integer> + class default_value_traits< ::boost::posix_time::time_duration, id_integer> { public: typedef ::boost::posix_time::time_duration time_duration; |