From d2c8179bfef0503647c519f44401f29d8bddd122 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Mar 2011 11:22:38 +0200 Subject: Cosmetic changes --- mysql/types/traits.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mysql') diff --git a/mysql/types/traits.hxx b/mysql/types/traits.hxx index 9ab0b32..df105e7 100644 --- a/mysql/types/traits.hxx +++ b/mysql/types/traits.hxx @@ -10,7 +10,7 @@ #include -#include "test.hxx" // date_time +#include "test.hxx" // date_time, buffer namespace odb { @@ -194,15 +194,15 @@ namespace odb }; template <> - class value_traits, details::buffer, id_string> + class value_traits { public: - typedef std::auto_ptr value_type; + typedef string_ptr value_type; typedef std::string query_type; typedef details::buffer image_type; static void - set_value (std::auto_ptr& v, + set_value (string_ptr& v, const details::buffer& b, std::size_t n, bool is_null) @@ -214,7 +214,7 @@ namespace odb set_image (details::buffer& b, std::size_t& n, bool& is_null, - const std::auto_ptr& v) + const string_ptr& v) { is_null = v.get () == 0; -- cgit v1.1