From 4e540775abb7afa27f299b29943d9182fae445e7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Sep 2010 18:40:58 +0200 Subject: Add database type id as value_traits template argument --- mysql/types/traits.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mysql') diff --git a/mysql/types/traits.hxx b/mysql/types/traits.hxx index 726135d..250343a 100644 --- a/mysql/types/traits.hxx +++ b/mysql/types/traits.hxx @@ -16,8 +16,8 @@ namespace odb { namespace mysql { - template <> - class value_traits + template + class value_traits { public: typedef date_time value_type; @@ -57,7 +57,7 @@ namespace odb }; template <> - class value_traits + class value_traits { public: typedef buffer value_type; @@ -94,7 +94,7 @@ namespace odb }; template <> - class value_traits + class value_traits { public: typedef bitfield value_type; @@ -128,7 +128,7 @@ namespace odb }; template <> - class value_traits + class value_traits { public: typedef set value_type; @@ -190,7 +190,7 @@ namespace odb }; template <> - class value_traits, details::buffer> + class value_traits, details::buffer, id_string> { public: typedef std::auto_ptr value_type; -- cgit v1.1