aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-06-21 10:28:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-06-21 10:59:19 +0200
commit7de12c4ade2b1dbe9e5069189ed4c6088c17fb18 (patch)
tree8e8fe91ff05465a67c39d20a9e72c70df56b4028
parentd79f7dab7368e7ed147ff17aaa5f9198576a3b04 (diff)
Fix bug in in_range() query function in dynamic multi-database support
-rw-r--r--odb/query-dynamic.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/query-dynamic.txx b/odb/query-dynamic.txx
index 521ab86..8bd1d6a 100644
--- a/odb/query-dynamic.txx
+++ b/odb/query-dynamic.txx
@@ -82,7 +82,7 @@ namespace odb
std::size_t n (0);
for (; i != end; ++i, ++n)
- q.append_val (*i, native_info);
+ q.append_val<T> (*i, native_info); // Force implicit conversion.
q.append (query_base::clause_part::op_in, n);
return q;