diff --git a/Graph.h b/Graph.h index a507011..8a98c7a 100644 --- a/Graph.h +++ b/Graph.h @@ -83,7 +83,7 @@ class Graph template Graph& operator << (T&& rEdge) { // forward as r-value reference - makeEdge(std::move(rEdge)) + makeEdge(std::move(rEdge)); return *this; } @@ -108,7 +108,7 @@ class Graph * Retrieves a node by the given id. * @return a pointer to the node or NULL if not found. */ - Node* Graph::findNodeById(const std::string& id); + Node* findNodeById(const std::string& id); /** Retrieves all edges that have rSrc as source node and rDst as destination node. */ tEdges findEdges(const Node& rSrc, const Node& rDst);