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/output/pq/pqStmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/output/pq/pqStmt.h') diff --git a/lib/output/pq/pqStmt.h b/lib/output/pq/pqStmt.h index 887a326..33047c0 100644 --- a/lib/output/pq/pqStmt.h +++ b/lib/output/pq/pqStmt.h @@ -21,7 +21,7 @@ namespace MyGrate::Output::Pq { public: PqPrepStmt(const char * const q, std::size_t n, PqConn * 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