diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-28 11:22:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-28 11:22:38 +0200 |
commit | d2c8179bfef0503647c519f44401f29d8bddd122 (patch) | |
tree | 92100460cc3e869168fe3d6e6fa47b8631c19522 /mysql/types | |
parent | b6f2b4e1e924965d55e656992a48cc3cd19e64a2 (diff) |
Cosmetic changes
Diffstat (limited to 'mysql/types')
-rw-r--r-- | mysql/types/traits.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 <odb/mysql/traits.hxx> -#include "test.hxx" // date_time +#include "test.hxx" // date_time, buffer namespace odb { @@ -194,15 +194,15 @@ namespace odb }; template <> - class value_traits<std::auto_ptr<std::string>, details::buffer, id_string> + class value_traits<string_ptr, details::buffer, id_string> { public: - typedef std::auto_ptr<std::string> value_type; + typedef string_ptr value_type; typedef std::string query_type; typedef details::buffer image_type; static void - set_value (std::auto_ptr<std::string>& 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<std::string>& v) + const string_ptr& v) { is_null = v.get () == 0; |