diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-18 18:31:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-18 18:31:40 +0200 |
commit | 2f0038a2aed44ce04200c09229921ae21861ccaa (patch) | |
tree | b266fe7d0f9c9bd23503779006f67cc9d3529a2c | |
parent | 585260e6131d103fe75111402b1018a2a23e0a8e (diff) |
Get rid of image type argument in value_traits
-rw-r--r-- | common/query/traits-mysql.hxx | 2 | ||||
-rw-r--r-- | common/query/traits-sqlite.hxx | 2 | ||||
-rw-r--r-- | mysql/types/traits.hxx | 10 | ||||
-rw-r--r-- | sqlite/types/traits.hxx | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/common/query/traits-mysql.hxx b/common/query/traits-mysql.hxx index cce99db..fb95bfd 100644 --- a/common/query/traits-mysql.hxx +++ b/common/query/traits-mysql.hxx @@ -17,7 +17,7 @@ namespace odb namespace mysql { template <> - class value_traits<std::auto_ptr<std::string>, details::buffer, id_string> + class value_traits<std::auto_ptr<std::string>, id_string> { public: typedef std::auto_ptr<std::string> value_type; diff --git a/common/query/traits-sqlite.hxx b/common/query/traits-sqlite.hxx index 57cf9c2..4e58b34 100644 --- a/common/query/traits-sqlite.hxx +++ b/common/query/traits-sqlite.hxx @@ -17,7 +17,7 @@ namespace odb namespace sqlite { template <> - class value_traits<std::auto_ptr<std::string>, details::buffer, id_text> + class value_traits<std::auto_ptr<std::string>, id_text> { public: typedef std::auto_ptr<std::string> value_type; diff --git a/mysql/types/traits.hxx b/mysql/types/traits.hxx index b05b2c4..2698afc 100644 --- a/mysql/types/traits.hxx +++ b/mysql/types/traits.hxx @@ -17,7 +17,7 @@ namespace odb namespace mysql { template <database_type_id ID> - class value_traits<date_time, MYSQL_TIME, ID> + class value_traits<date_time, ID> { public: typedef date_time value_type; @@ -57,7 +57,7 @@ namespace odb }; template <> - class value_traits<buffer, details::buffer, id_blob> + class value_traits<buffer, id_blob> { public: typedef buffer value_type; @@ -94,7 +94,7 @@ namespace odb }; template <> - class value_traits<bitfield, unsigned char*, id_bit> + class value_traits<bitfield, id_bit> { public: typedef bitfield value_type; @@ -132,7 +132,7 @@ namespace odb }; template <> - class value_traits<set, details::buffer, id_set> + class value_traits<set, id_set> { public: typedef set value_type; @@ -194,7 +194,7 @@ namespace odb }; template <> - class value_traits<string_ptr, details::buffer, id_string> + class value_traits<string_ptr, id_string> { public: typedef string_ptr value_type; diff --git a/sqlite/types/traits.hxx b/sqlite/types/traits.hxx index 13eef34..70b7b26 100644 --- a/sqlite/types/traits.hxx +++ b/sqlite/types/traits.hxx @@ -17,7 +17,7 @@ namespace odb namespace sqlite { template <> - class value_traits<buffer, details::buffer, id_blob> + class value_traits<buffer, id_blob> { public: typedef buffer value_type; @@ -54,7 +54,7 @@ namespace odb }; template <> - class value_traits<string_ptr, details::buffer, id_text> + class value_traits<string_ptr, id_text> { public: typedef string_ptr value_type; |