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.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/output/pq/pqStmt.cpp') diff --git a/lib/output/pq/pqStmt.cpp b/lib/output/pq/pqStmt.cpp index 7e085b5..eb3c32d 100644 --- a/lib/output/pq/pqStmt.cpp +++ b/lib/output/pq/pqStmt.cpp @@ -19,7 +19,7 @@ namespace MyGrate::Output::Pq { } void - PqPrepStmt::execute(const std::initializer_list & vs) + PqPrepStmt::execute(const std::span vs) { Bindings b {vs}; res = {PQexecPrepared( -- cgit v1.2.3