From 62e1db5f39894196071c505e1be8d502f20c2d68 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 2 Nov 2022 16:59:14 +0200 Subject: [PATCH] Implemented data() to vector --- include/vector.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/vector.hpp b/include/vector.hpp index 910d8a6..3e2bca9 100644 --- a/include/vector.hpp +++ b/include/vector.hpp @@ -159,4 +159,6 @@ public: VectorSize = 0; VectorBuffer = 0; } + + T *data() { return VectorBuffer; } };