From 0bbf230e4f01af8008be935c251f44b1f02d68ac Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 6 Nov 2023 15:19:12 +0100 Subject: [PATCH] AK: Expose the memory offset of Vector's outline buffer pointer --- AK/Vector.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AK/Vector.h b/AK/Vector.h index 52db632ce18..52f73c4946c 100644 --- a/AK/Vector.h +++ b/AK/Vector.h @@ -811,6 +811,8 @@ public: AK::swap(at(i), at(size() - i - 1)); } + static FlatPtr outline_buffer_offset() { return OFFSET_OF(Vector, m_outline_buffer); } + private: void reset_capacity() {