From 3a2fa32ce166004b1317588ed0abdac97ad27cb5 Mon Sep 17 00:00:00 2001 From: CHatingPython Date: Sat, 20 Jun 2026 12:56:43 +0200 Subject: [PATCH] fix!: remove references to context::collect I forgor to do that earlier lol Refs: #12 --- furvm/src/context.cpp | 2 -- furvm/src/main.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/furvm/src/context.cpp b/furvm/src/context.cpp index 131a2be..b4ffb57 100644 --- a/furvm/src/context.cpp +++ b/furvm/src/context.cpp @@ -7,6 +7,4 @@ namespace furvm { context::context() : m_thingAllocator(m_thingArena) {} -void context::collect() {} - } // namespace furvm diff --git a/furvm/src/main.cpp b/furvm/src/main.cpp index ffd22b8..a8487df 100644 --- a/furvm/src/main.cpp +++ b/furvm/src/main.cpp @@ -29,10 +29,8 @@ int main(void) { static constexpr std::size_t FPC = 3; // Frames per collection - std::size_t count = 0; while ((executor->flags() & furvm::executor_flags::Done) != furvm::executor_flags::Done) { executor->step(); - if ((++count % FPC) == 0) context->collect(); } return 0;