fix!: remove references to context::collect
I forgor to do that earlier lol Refs: #12
This commit is contained in:
@@ -7,6 +7,4 @@ namespace furvm {
|
|||||||
context::context()
|
context::context()
|
||||||
: m_thingAllocator(m_thingArena) {}
|
: m_thingAllocator(m_thingArena) {}
|
||||||
|
|
||||||
void context::collect() {}
|
|
||||||
|
|
||||||
} // namespace furvm
|
} // namespace furvm
|
||||||
|
|||||||
@@ -29,10 +29,8 @@ int main(void) {
|
|||||||
|
|
||||||
static constexpr std::size_t FPC = 3; // Frames per collection
|
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) {
|
while ((executor->flags() & furvm::executor_flags::Done) != furvm::executor_flags::Done) {
|
||||||
executor->step();
|
executor->step();
|
||||||
if ((++count % FPC) == 0) context->collect();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user