summaryrefslogtreecommitdiff
path: root/lib/input/mysqlStmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/input/mysqlStmt.cpp')
-rw-r--r--lib/input/mysqlStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/input/mysqlStmt.cpp b/lib/input/mysqlStmt.cpp
index e0f4cbc..0a80258 100644
--- a/lib/input/mysqlStmt.cpp
+++ b/lib/input/mysqlStmt.cpp
@@ -15,7 +15,7 @@ namespace MyGrate::Input {
}
void
- MySQLPrepStmt::execute(const std::initializer_list<DbValue> & vs)
+ MySQLPrepStmt::execute(const std::span<const DbValue> vs)
{
Bindings b {vs};
verify<std::logic_error>(!mysql_stmt_bind_param(stmt.get(), b.binds.data()), "Param count mismatch");