diff --git a/include/aidge/graph/Node.hpp b/include/aidge/graph/Node.hpp index 8c0216e5de88dc9365560930e35822614af0eecf..0780ce9a24da0ceb0c42b32944021f5df2fa9726 100644 --- a/include/aidge/graph/Node.hpp +++ b/include/aidge/graph/Node.hpp @@ -41,7 +41,7 @@ private: auto sharedB = b.lock(); if (!sharedB) return false; // nothing after expired pointer if (!sharedA) return true; - return sharedA < sharedB; // Assuming GraphView has a valid comparison operator + return sharedA < sharedB; // shared_ptr has a valid comparison operator } }; std::string mName; /** Name of the Node. Should be unique. */ @@ -402,4 +402,4 @@ private: }; } // namespace Aidge -#endif /* __AIDGE_CORE_GRAPH_NODE_H__ */ \ No newline at end of file +#endif /* __AIDGE_CORE_GRAPH_NODE_H__ */