diff --git a/include/matador/object/foreign_node_completer.hpp b/include/matador/object/foreign_node_completer.hpp index 4078a69..05cddc8 100644 --- a/include/matador/object/foreign_node_completer.hpp +++ b/include/matador/object/foreign_node_completer.hpp @@ -18,8 +18,6 @@ namespace matador::object { * Processes the given node and ensures * that all foreign nodes needed by the given node * relations are attached in schema. - * - * @tparam Type Type of node to complete */ class foreign_node_completer final { private: diff --git a/include/matador/object/relation_endpoint.hpp b/include/matador/object/relation_endpoint.hpp index 01379c1..0fe12d8 100644 --- a/include/matador/object/relation_endpoint.hpp +++ b/include/matador/object/relation_endpoint.hpp @@ -31,7 +31,7 @@ public: [[nodiscard]] std::string type_name() const; [[nodiscard]] const schema_node& node() const; - std::shared_ptr node_ptr() const; + [[nodiscard]] std::shared_ptr node_ptr() const; [[nodiscard]] bool is_has_one() const; [[nodiscard]] bool is_has_many() const;