diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-18 18:30:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-18 18:30:06 +0200 |
commit | e04d780ade5f663de1b2314a73cf758db95af439 (patch) | |
tree | fb806024a2d06210d2a61f813b8078eeaac09efb /odb/sqlite/query.hxx | |
parent | 12da812979d06cc739d247f891abba4137cf9285 (diff) |
Get rid of image type argument in value_traits
Diffstat (limited to 'odb/sqlite/query.hxx')
-rw-r--r-- | odb/sqlite/query.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/odb/sqlite/query.hxx b/odb/sqlite/query.hxx index edf9222..98189ab 100644 --- a/odb/sqlite/query.hxx +++ b/odb/sqlite/query.hxx @@ -1059,7 +1059,7 @@ namespace odb init (const T& v) { bool dummy; - value_traits<T, long long, id_integer>::set_image (image_, dummy, v); + value_traits<T, id_integer>::set_image (image_, dummy, v); } private: @@ -1093,7 +1093,7 @@ namespace odb init (const T& v) { bool dummy; - value_traits<T, double, id_real>::set_image (image_, dummy, v); + value_traits<T, id_real>::set_image (image_, dummy, v); } private: @@ -1128,8 +1128,7 @@ namespace odb { bool dummy; std::size_t cap (buffer_.capacity ()); - value_traits<T, details::buffer, id_text>::set_image ( - buffer_, size_, dummy, v); + value_traits<T, id_text>::set_image (buffer_, size_, dummy, v); return cap != buffer_.capacity (); } @@ -1166,8 +1165,7 @@ namespace odb { bool dummy; std::size_t cap (buffer_.capacity ()); - value_traits<T, details::buffer, id_blob>::set_image ( - buffer_, size_, dummy, v); + value_traits<T, id_blob>::set_image (buffer_, size_, dummy, v); return cap != buffer_.capacity (); } |