summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dbStmt.h2
1 files changed, 1 insertions, 1 deletions
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...>(p)...});
+ stmt->execute({std::forward<P>(p)...});
if constexpr (isSelect) {
return stmt->recordSet();
}