removed make_relation_node method from repository_node

This commit is contained in:
2025-12-08 19:45:35 +01:00
parent 263c202c69
commit d4ef97ef5a
15 changed files with 90 additions and 133 deletions
+5 -1
View File
@@ -20,7 +20,7 @@ namespace matador::object {
// : node_(std::move(node))
// , attributes_(attributes) {}
basic_object_info::basic_object_info(std::shared_ptr<repository_node> node, std::unique_ptr<object>&& obj)
basic_object_info::basic_object_info(std::shared_ptr<repository_node> node, std::unique_ptr<class object>&& obj)
: object_(std::move(obj))
, node_(std::move(node)) {}
@@ -32,6 +32,10 @@ std::string basic_object_info::name() const {
return node_->name();
}
const class object & basic_object_info::object() const {
return *object_;
}
const std::list<attribute>& basic_object_info::attributes() const {
return object_->attributes();
}