diff options
Diffstat (limited to 'odb/mysql/query.cxx')
-rw-r--r-- | odb/mysql/query.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/query.cxx b/odb/mysql/query.cxx index 2aefeea..542f827 100644 --- a/odb/mysql/query.cxx +++ b/odb/mysql/query.cxx @@ -85,12 +85,12 @@ namespace odb parameters () const { size_t n (parameters_.size ()); - binding& r (const_cast<binding&> (binding_)); + binding& r (binding_); if (n == 0) return r; // r.bind and r.count should be 0. - MYSQL_BIND* b (const_cast<MYSQL_BIND*> (&bind_[0])); + MYSQL_BIND* b (&bind_[0]); bool inc_ver (false); |