From f39817f958295f8e6b3d018bd17b8ef4103c45a8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 5 Jul 2021 19:32:42 +0100 Subject: Explicit RowView constructor --- lib/dbRecordSet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/dbRecordSet.cpp') diff --git a/lib/dbRecordSet.cpp b/lib/dbRecordSet.cpp index d5e55f0..ec3db4a 100644 --- a/lib/dbRecordSet.cpp +++ b/lib/dbRecordSet.cpp @@ -39,7 +39,7 @@ namespace MyGrate { RowView RecordSet::operator[](std::size_t row) const { - return {this, row}; + return RowView {this, row}; } DbValue @@ -51,12 +51,12 @@ namespace MyGrate { RowView RecordSet::begin() const { - return {this, 0}; + return RowView {this, 0}; } RowView RecordSet::end() const { - return {this, rows()}; + return RowView {this, rows()}; } } -- cgit v1.2.3