#include namespace blue::core { object::object(object &&other) { ptr_ = other.ptr_; other.ptr_ = nullptr; } object::~object() { if (ptr_) { b_object_unref(ptr_); ptr_ = nullptr; } } }