removed obsolete parameter from basic_object_info constructor
This commit is contained in:
@@ -14,14 +14,14 @@ public:
|
||||
|
||||
object_info(const std::shared_ptr<schema_node>& node,
|
||||
const std::shared_ptr<attribute_definition> &ref_column)
|
||||
: basic_object_info(node, typeid(Type), {}, ref_column, {})
|
||||
: basic_object_info(node, {}, ref_column, {})
|
||||
, creator_([]{return std::make_unique<Type>(); }){
|
||||
}
|
||||
object_info(const std::shared_ptr<schema_node>& node,
|
||||
utils::identifier &&pk,
|
||||
const std::shared_ptr<attribute_definition> &ref_column,
|
||||
object_definition &&definition)
|
||||
: basic_object_info(node, typeid(Type), std::move(pk), ref_column, std::move(definition))
|
||||
: basic_object_info(node, std::move(pk), ref_column, std::move(definition))
|
||||
, creator_([]{return std::make_unique<Type>(); }){
|
||||
}
|
||||
object_info(const std::shared_ptr<schema_node>& node,
|
||||
@@ -29,13 +29,13 @@ public:
|
||||
const std::shared_ptr<attribute_definition> &ref_column,
|
||||
object_definition &&definition,
|
||||
create_func&& creator)
|
||||
: basic_object_info(node, typeid(Type), std::move(pk), ref_column, std::move(definition))
|
||||
: basic_object_info(node, std::move(pk), ref_column, std::move(definition))
|
||||
, creator_(std::move(creator)){
|
||||
}
|
||||
object_info(const std::shared_ptr<schema_node>& node,
|
||||
object_definition &&definition,
|
||||
create_func&& creator)
|
||||
: basic_object_info(node, typeid(Type), std::move(definition))
|
||||
: basic_object_info(node, std::move(definition))
|
||||
, creator_(std::move(creator)){
|
||||
}
|
||||
|
||||
@@ -51,8 +51,7 @@ template<typename Type>
|
||||
using object_info_ref = std::reference_wrapper<const object_info<Type>>;
|
||||
|
||||
namespace detail {
|
||||
struct null_type {
|
||||
};
|
||||
struct null_type {};
|
||||
}
|
||||
|
||||
using null_info = object_info<detail::null_type>;
|
||||
|
||||
Reference in New Issue
Block a user