summaryrefslogtreecommitdiff
path: root/lib/dbRecordSet.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-07-05 19:32:42 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-07-05 19:32:42 +0100
commitf39817f958295f8e6b3d018bd17b8ef4103c45a8 (patch)
tree9615ed8f12454dcac7f3db3bfb42bc343b796f3f /lib/dbRecordSet.cpp
parentHandy operator to get a string_view of a MARIADB_STRING (diff)
downloadmygrate-f39817f958295f8e6b3d018bd17b8ef4103c45a8.tar.bz2
mygrate-f39817f958295f8e6b3d018bd17b8ef4103c45a8.tar.xz
mygrate-f39817f958295f8e6b3d018bd17b8ef4103c45a8.zip
Explicit RowView constructor
Diffstat (limited to 'lib/dbRecordSet.cpp')
-rw-r--r--lib/dbRecordSet.cpp6
1 files changed, 3 insertions, 3 deletions
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()};
}
}