diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-18 18:27:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-18 18:27:00 +0200 |
commit | a5e7a049052324e34cb7d163333f6e449065c5af (patch) | |
tree | 2e8fd57c5abf11cb906d6b0c2cc47e351a31c928 /mysql/types/traits.hxx | |
parent | b41056d73ee0c2ba29649932625d620434350a9f (diff) |
Move buffer to the details namespace
Diffstat (limited to 'mysql/types/traits.hxx')
-rw-r--r-- | mysql/types/traits.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mysql/types/traits.hxx b/mysql/types/traits.hxx index 1aea637..d113e7d 100644 --- a/mysql/types/traits.hxx +++ b/mysql/types/traits.hxx @@ -56,14 +56,14 @@ namespace odb }; template <> - class value_traits< ::buffer > + class value_traits<buffer> { public: - typedef ::buffer type; - typedef ::buffer value_type; + typedef buffer type; + typedef buffer value_type; static void - set_value (type& v, const char* s, std::size_t n, bool is_null) + set_value (buffer& v, const char* s, std::size_t n, bool is_null) { if (!is_null) v.assign (s, n); @@ -76,7 +76,7 @@ namespace odb std::size_t c, std::size_t& n, bool& is_null, - const type& v) + const buffer& v) { is_null = false; n = v.size (); @@ -89,10 +89,10 @@ namespace odb } static void - set_image (odb::buffer& b, + set_image (details::buffer& b, std::size_t& n, bool& is_null, - const type& v) + const buffer& v) { is_null = false; n = v.size (); @@ -171,7 +171,7 @@ namespace odb } static void - set_image (odb::buffer& buf, + set_image (details::buffer& buf, std::size_t& n, bool& is_null, const set& v) @@ -212,7 +212,7 @@ namespace odb } static void - set_image (odb::buffer& b, + set_image (details::buffer& b, std::size_t& n, bool& is_null, const std::auto_ptr<std::string>& v) |