diff options
Diffstat (limited to 'src/client/GraphModel.cpp')
-rw-r--r-- | src/client/GraphModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/GraphModel.cpp b/src/client/GraphModel.cpp index 88943978..fe838725 100644 --- a/src/client/GraphModel.cpp +++ b/src/client/GraphModel.cpp @@ -93,7 +93,7 @@ GraphModel::clear() } SharedPtr<EdgeModel> -GraphModel::get_edge(const GraphObject* tail, const GraphObject* head) +GraphModel::get_edge(const Node* tail, const Node* head) { Edges::iterator i = _edges.find(make_pair(tail, head)); if (i != _edges.end()) @@ -138,7 +138,7 @@ GraphModel::add_edge(SharedPtr<EdgeModel> cm) } void -GraphModel::remove_edge(const GraphObject* tail, const GraphObject* head) +GraphModel::remove_edge(const Node* tail, const Node* head) { Edges::iterator i = _edges.find(make_pair(tail, head)); if (i != _edges.end()) { |