object generating progress
This commit is contained in:
@@ -12,19 +12,12 @@ public:
|
||||
using create_func = std::function<std::unique_ptr<Type>()>;
|
||||
|
||||
object_info(const std::shared_ptr<repository_node>& node,
|
||||
const std::vector<attribute> &attributes,
|
||||
utils::identifier &&pk,
|
||||
const std::shared_ptr<attribute> &ref_column,
|
||||
std::unique_ptr<object> &&obj,
|
||||
create_func&& creator)
|
||||
: basic_object_info(node, attributes, std::move(pk), ref_column)
|
||||
, creator_(std::move(creator)){
|
||||
}
|
||||
object_info(const std::shared_ptr<repository_node>& node,
|
||||
const std::vector<attribute> &attributes,
|
||||
create_func&& creator)
|
||||
: basic_object_info(node, attributes)
|
||||
: basic_object_info(node, std::move(obj))
|
||||
, creator_(std::move(creator)){
|
||||
}
|
||||
|
||||
explicit object_info(const std::shared_ptr<repository_node>& node)
|
||||
: basic_object_info(node, {}) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user