aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/query.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/query.cxx')
-rw-r--r--odb/sqlite/query.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/odb/sqlite/query.cxx b/odb/sqlite/query.cxx
index f6a4dc1..2a1c203 100644
--- a/odb/sqlite/query.cxx
+++ b/odb/sqlite/query.cxx
@@ -96,7 +96,6 @@ namespace odb
init ()
{
bool inc_ver (false);
- sqlite::bind* b (&bind_[0]);
for (size_t i (0); i < params_.size (); ++i)
{
@@ -106,7 +105,7 @@ namespace odb
{
if (p.init ())
{
- p.bind (b + i);
+ p.bind (&bind_[i]);
inc_ver = true;
}
}