From b90ca820b4159f6fe2c713d2c3b4d08620e17beb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 23 Jul 2021 01:15:36 +0100 Subject: Add missing keys initializer --- lib/output/pq/updateDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/output/pq/updateDatabase.cpp b/lib/output/pq/updateDatabase.cpp index ebc3c43..22ae346 100644 --- a/lib/output/pq/updateDatabase.cpp +++ b/lib/output/pq/updateDatabase.cpp @@ -52,7 +52,7 @@ namespace MyGrate::Output::Pq { return (*srcrec)[0].create(); } - TableOutput::TableOutput(const RecordSet & crecs, std::string_view name) + TableOutput::TableOutput(const RecordSet & crecs, std::string_view name) : keys {0} { for (auto c {0U}; c < crecs.rows(); c++) { if (crecs.at(c, 0) == name) { -- cgit v1.2.3