summaryrefslogtreecommitdiff
path: root/odb/mysql/query.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-12-07 12:53:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-12-07 12:53:37 +0200
commitdcd5b13e6ab849ebd812f794a18654a90631b42f (patch)
treea50bcba114df99729075da12d3765738c694c9d5 /odb/mysql/query.hxx
parent61fc247f34255796f5535b52626074b4f92b6bb4 (diff)
Use mutable instead of const_cast
Diffstat (limited to 'odb/mysql/query.hxx')
-rw-r--r--odb/mysql/query.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/query.hxx b/odb/mysql/query.hxx
index 9deb6a7..9cb6bb9 100644
--- a/odb/mysql/query.hxx
+++ b/odb/mysql/query.hxx
@@ -191,8 +191,8 @@ namespace odb
std::string clause_;
parameters_type parameters_;
- std::vector<MYSQL_BIND> bind_;
- binding binding_;
+ mutable std::vector<MYSQL_BIND> bind_;
+ mutable binding binding_;
};
inline query