diff --git a/lib/graph/graph.hpp b/lib/graph/graph.hpp index 26bc311..1483546 100644 --- a/lib/graph/graph.hpp +++ b/lib/graph/graph.hpp @@ -561,7 +561,8 @@ inline std::vector::Edge> Graph::edges( template -inline typename std::vector::Vertex >::const_iterator Graph::find(const_reference data) const +inline typename std::vector::Vertex >::const_iterator +Graph::find(const_reference data) const { return std::find_if(m_vertices.begin(), m_vertices.end(), [&data](const Vertex& v) @@ -569,7 +570,8 @@ inline typename std::vector::Vertex >::const_iterato } template -inline typename std::vector::Vertex >::iterator Graph::find(const_reference data) +inline typename std::vector::Vertex >::iterator +Graph::find(const_reference data) { return std::find_if(m_vertices.begin(), m_vertices.end(), [&data](const Vertex& v) diff --git a/test/graph/test_graph.hpp b/test/graph/test_graph.hpp index ff25048..de5c9fd 100644 --- a/test/graph/test_graph.hpp +++ b/test/graph/test_graph.hpp @@ -1,6 +1,6 @@ #include -#include "graph.hpp" +#include "graph/graph.hpp" namespace test { class TestSubsystem1DummyClassSuite; }