summaryrefslogtreecommitdiffhomepage
path: root/src/RTree.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-17 18:27:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-17 18:27:11 +0200
commitd1564c0413d0a942806bcc57ed9848f397dd4bea (patch)
treee5880fc352c6307a7ff229c97f1e7641aed09af4 /src/RTree.h
parent8a6af71225c7d4f47964945658600c0826626e59 (diff)
remove dumb idea of a union of pointers
Diffstat (limited to 'src/RTree.h')
-rw-r--r--src/RTree.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/RTree.h b/src/RTree.h
index 7b8eeb7c..6cf0292e 100644
--- a/src/RTree.h
+++ b/src/RTree.h
@@ -40,10 +40,6 @@ template<typename T> struct rtree_pool final
union { T data; };
node_u* next;
};
- union node_p {
- T* ptr;
- node_u* data_ptr;
- };
private:
node_u* free_list = nullptr;