From 45e4e70ec50bc0d743dadc415e0c4a0695ce63fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Fri, 10 Jul 2020 22:29:10 -0300 Subject: make clear the separation of client and buffer --- point.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'point.cpp') diff --git a/point.cpp b/point.cpp index 0e80e7f..5422350 100644 --- a/point.cpp +++ b/point.cpp @@ -61,6 +61,7 @@ struct Point { Point() : page(0), index(0) {} Point(Page* page, uint16_t index) : page(page), index(index) {} + Point(const Buffer &b) : page(b.storage), index(0) {} Point(const Point &p) : page(p.page), index(p.index) {} bool operator==(Point p) { -- cgit v1.2.3