From 9df7aa0c2b7491410568fc5220768b109437c3c6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 13 Jun 2021 14:04:30 +0100 Subject: Fix binding multiple parameters in DbStmt --- lib/dbStmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dbStmt.h b/lib/dbStmt.h index 80dbd71..5b6cb69 100644 --- a/lib/dbStmt.h +++ b/lib/dbStmt.h @@ -51,7 +51,7 @@ namespace MyGrate { { static_assert(sizeof...(P) == paramCount(ConnType::paramMode)); auto stmt {c->prepare(S, sizeof...(P))}; - stmt->execute({std::forward(p)...}); + stmt->execute({std::forward

(p)...}); if constexpr (isSelect) { return stmt->recordSet(); } -- cgit v1.2.3