feat(furvm): add collect function to context

This commit is contained in:
2026-06-10 20:35:05 +02:00
parent 4d935ef75f
commit 9021ae0089
3 changed files with 18 additions and 0 deletions
+5
View File
@@ -93,6 +93,11 @@ public:
* @return The module count.
*/
constexpr size_t size() const { return m_modules.size(); }
public:
/**
* @brief Removes unreferenced things from the thing list.
*/
void collect();
private:
std::vector<mod_p> m_modules;
std::vector<thing_p> m_things;