diff --git a/lib/graph/graph.hpp b/lib/graph/graph.hpp index e512cb9..8a64bf6 100644 --- a/lib/graph/graph.hpp +++ b/lib/graph/graph.hpp @@ -179,9 +179,6 @@ inline Graph::Graph(std::initializer_list edge_list) template inline void Graph::addVertex(const_reference data) { - if (m_vertices.find(data) != m_vertices.end()) - return; - std::pair p(data, edge_container()); m_vertices.insert(p); }