summaryrefslogtreecommitdiff
path: root/src/server/point.cpp
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-08-05 20:17:56 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-08-05 20:17:56 -0300
commit0f22f0178cdfd27e2bac47388fb710023d9f4494 (patch)
tree2fa2626276e1c709676cacd1dc2529070b561045 /src/server/point.cpp
parentbebe98b46283bf21954f5f0a4923d3add45e4d5b (diff)
downloadjet-0f22f0178cdfd27e2bac47388fb710023d9f4494.tar.gz
jet-0f22f0178cdfd27e2bac47388fb710023d9f4494.zip
Fix line lengths not sent properlyHEADmaster
Diffstat (limited to 'src/server/point.cpp')
-rw-r--r--src/server/point.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/point.cpp b/src/server/point.cpp
index cf38bed..5b87d44 100644
--- a/src/server/point.cpp
+++ b/src/server/point.cpp
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <stdbool.h>
-class Point {
+struct Point {
Page *page;
uint16_t index;
@@ -55,9 +55,6 @@ class Point {
}
}
-
- public:
-
Point() : page(0), index(0) {}
Point(Page* page, uint16_t index) : page(page), index(index) {}
Point(const Buffer &b) : page(b.storage), index(0) {}