diff --git a/furvm/include/furvm/thing.hpp b/furvm/include/furvm/thing.hpp index 839331d..6e76bf8 100644 --- a/furvm/include/furvm/thing.hpp +++ b/furvm/include/furvm/thing.hpp @@ -51,7 +51,7 @@ private: thing_t m_type; std::shared_ptr m_context; - void* m_data; + void* m_data = nullptr; }; } // namespace furvm diff --git a/furvm/src/thing.cpp b/furvm/src/thing.cpp index e69de29..ca59f61 100644 --- a/furvm/src/thing.cpp +++ b/furvm/src/thing.cpp @@ -0,0 +1,10 @@ +#include "furvm/thing.hpp" + +namespace furvm { + +thing::thing(rzecz, thing_handle id, thing_t type, const std::shared_ptr& context) + : m_id(id), m_type(type), m_context(context) {} + +thing::~thing() {} + +} // namespace furvm \ No newline at end of file