mvcc: Allow dereferencing partition_snapshot_row_weakref

This commit is contained in:
Tomasz Grabiec
2017-12-11 18:18:11 +01:00
parent d0e1a3c63e
commit 2a0ece5205

View File

@@ -81,6 +81,12 @@ public:
}
return false;
}
rows_entry* operator->() const {
return &*_it;
}
rows_entry& operator*() const {
return *_it;
}
};
// Allows iterating over rows of mutation_partition represented by given partition_snapshot.