refactor(furvm): implement thing constructor

This commit is contained in:
2026-06-06 22:57:35 +02:00
parent a077457636
commit 6824015728
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ private:
thing_t m_type; thing_t m_type;
std::shared_ptr<context> m_context; std::shared_ptr<context> m_context;
void* m_data; void* m_data = nullptr;
}; };
} // namespace furvm } // namespace furvm
+10
View File
@@ -0,0 +1,10 @@
#include "furvm/thing.hpp"
namespace furvm {
thing::thing(rzecz, thing_handle id, thing_t type, const std::shared_ptr<context>& context)
: m_id(id), m_type(type), m_context(context) {}
thing::~thing() {}
} // namespace furvm