aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:28:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:28:42 +0200
commitd206125ed2d85891d946c3c12c9b7eb95d5af41e (patch)
tree91c904c256435cc00eed80f89907bb9b674727c0
parentcb9e3f69dc5409347ea9ab40afb9fbbdb88e4a89 (diff)
Get rid of image type argument in value_traits
-rw-r--r--mapping/traits-mysql.hxx4
-rw-r--r--mapping/traits-sqlite.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/mapping/traits-mysql.hxx b/mapping/traits-mysql.hxx
index 497d122..ff5d106 100644
--- a/mapping/traits-mysql.hxx
+++ b/mapping/traits-mysql.hxx
@@ -20,7 +20,7 @@ namespace odb
namespace mysql
{
template <>
- class value_traits<bool, details::buffer, id_string>
+ class value_traits<bool, id_string>
{
public:
typedef bool value_type;
@@ -53,7 +53,7 @@ namespace odb
};
template <>
- class value_traits<date, MYSQL_TIME, id_date>
+ class value_traits<date, id_date>
{
public:
typedef date value_type;
diff --git a/mapping/traits-sqlite.hxx b/mapping/traits-sqlite.hxx
index 697f1b6..38a8535 100644
--- a/mapping/traits-sqlite.hxx
+++ b/mapping/traits-sqlite.hxx
@@ -21,7 +21,7 @@ namespace odb
namespace sqlite
{
template <>
- class value_traits<bool, details::buffer, id_text>
+ class value_traits<bool, id_text>
{
public:
typedef bool value_type;
@@ -58,7 +58,7 @@ namespace odb
// doesn't do any error checking for brevity.
//
template <>
- class value_traits<date, details::buffer, id_text>
+ class value_traits<date, id_text>
{
public:
typedef date value_type;