aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:31:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:31:40 +0200
commit2f0038a2aed44ce04200c09229921ae21861ccaa (patch)
treeb266fe7d0f9c9bd23503779006f67cc9d3529a2c /common
parent585260e6131d103fe75111402b1018a2a23e0a8e (diff)
Get rid of image type argument in value_traits
Diffstat (limited to 'common')
-rw-r--r--common/query/traits-mysql.hxx2
-rw-r--r--common/query/traits-sqlite.hxx2
2 files changed, 2 insertions, 2 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;