summaryrefslogtreecommitdiff
path: root/libmysqlpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-12 17:24:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-12 17:24:21 +0000
commit0778234c3ffd82f3b9987bcb64de32f2647aba4d (patch)
tree030f6f40fbff28e222828ff548ad2240963b039b /libmysqlpp
parentSmart pointer stmt to fix leak (diff)
downloadlibdbpp-mysql-0778234c3ffd82f3b9987bcb64de32f2647aba4d.tar.bz2
libdbpp-mysql-0778234c3ffd82f3b9987bcb64de32f2647aba4d.tar.xz
libdbpp-mysql-0778234c3ffd82f3b9987bcb64de32f2647aba4d.zip
Replace straggling typedeflibdbpp-mysql-1.4.4
Diffstat (limited to 'libmysqlpp')
-rw-r--r--libmysqlpp/my-command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqlpp/my-command.h b/libmysqlpp/my-command.h
index 4a6426b..1161b77 100644
--- a/libmysqlpp/my-command.h
+++ b/libmysqlpp/my-command.h
@@ -38,7 +38,7 @@ namespace MySQL {
const Connection * c;
std::unique_ptr<MYSQL_STMT, decltype(&mysql_stmt_close)> stmt;
- typedef std::vector<MYSQL_BIND> Binds;
+ using Binds = std::vector<MYSQL_BIND>;
Binds binds;
bool paramsNeedBinding;
};