added object_proxy as the holder of the object in object_ptr
This commit is contained in:
@@ -63,7 +63,7 @@ public:
|
||||
if (!obj->get()) {
|
||||
return utils::failure(make_error(error_code::FailedToFindObject, "Failed to find object of type " + info->get().name() + " with primary key " + std::to_string(pk) + "."));
|
||||
}
|
||||
return utils::ok(object::object_ptr<Type>{ obj.release() });
|
||||
return utils::ok(object::object_ptr<Type>{ obj->release() });
|
||||
}
|
||||
|
||||
template<typename Type>
|
||||
|
||||
Reference in New Issue
Block a user