From 0096f5745e4b59eb34c8147f7fcfcf1a43c7fc7f Mon Sep 17 00:00:00 2001 From: camila314 <47485054+camila314@users.noreply.github.com> Date: Fri, 2 Dec 2022 14:17:57 -0600 Subject: [PATCH] stl fix yet again --- loader/include/Geode/c++stl/gnustl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/include/Geode/c++stl/gnustl.hpp b/loader/include/Geode/c++stl/gnustl.hpp index 5f0856ed..398b8bb2 100644 --- a/loader/include/Geode/c++stl/gnustl.hpp +++ b/loader/include/Geode/c++stl/gnustl.hpp @@ -335,9 +335,9 @@ namespace gd { void clear() { std::allocator alloc; alloc.deallocate(m_start, (m_finish - m_start) / 8); - m_start = alloc.allocate(1); - m_finish = m_start; - m_capacity_end = m_start + 8; + m_start = 0; + m_finish = 0; + m_capacity_end = 0; } T& front() {