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:41:11 +0200
commitd78251f93aaf933b5ef2b9076bee70da5bc53291 (patch)
treea28b991884dcb12ebb0898f2f4d398668be6a2dd
parentc47bbc6d4b584dfe5b1445c50bada6b687a0c907 (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 95bddf3..54445bb 100644
--- a/odb/query-dynamic.txx
+++ b/odb/query-dynamic.txx
@@ -88,7 +88,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;