From 6fd16aeac962cd80a37307fa90e3eb9a7102330b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 14 Jul 2021 01:31:35 +0100 Subject: Pass bindings as a span, only wrap with initializer_list --- lib/input/mysqlStmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/input/mysqlStmt.h') diff --git a/lib/input/mysqlStmt.h b/lib/input/mysqlStmt.h index 09b5c73..4a4ad8f 100644 --- a/lib/input/mysqlStmt.h +++ b/lib/input/mysqlStmt.h @@ -17,7 +17,7 @@ namespace MyGrate::Input { class MySQLPrepStmt : public DbPrepStmt { public: MySQLPrepStmt(const char * const q, MYSQL * c); - void execute(const std::initializer_list & vs) override; + void execute(const std::span vs) override; std::size_t rows() const override; -- cgit v1.2.3