diff options
Diffstat (limited to 'src/client/GraphModel.cpp')
-rw-r--r-- | src/client/GraphModel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/GraphModel.cpp b/src/client/GraphModel.cpp index b5838d19..0723e59b 100644 --- a/src/client/GraphModel.cpp +++ b/src/client/GraphModel.cpp @@ -134,8 +134,7 @@ GraphModel::add_arc(SPtr<ArcModel> arc) assert(arc->tail() == existing->tail()); assert(arc->head() == existing->head()); } else { - _arcs.emplace(std::make_pair(arc->tail().get(), - arc->head().get()), + _arcs.emplace(std::make_pair(arc->tail().get(), arc->head().get()), arc); _signal_new_arc.emit(arc); } |