small refactor

for/release
Denes Matetelki 12 years ago
parent aa812cefda
commit fda1305c05

@ -561,7 +561,8 @@ inline std::vector<typename Graph<V, E, Alloc>::Edge> Graph<V, E, Alloc>::edges(
template <typename V, typename E, typename Alloc>
inline typename std::vector<typename Graph<V, E, Alloc>::Vertex >::const_iterator Graph<V, E, Alloc>::find(const_reference data) const
inline typename std::vector<typename Graph<V, E, Alloc>::Vertex >::const_iterator
Graph<V, E, Alloc>::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<typename Graph<V, E, Alloc>::Vertex >::const_iterato
}
template <typename V, typename E, typename Alloc>
inline typename std::vector<typename Graph<V, E, Alloc>::Vertex >::iterator Graph<V, E, Alloc>::find(const_reference data)
inline typename std::vector<typename Graph<V, E, Alloc>::Vertex >::iterator
Graph<V, E, Alloc>::find(const_reference data)
{
return std::find_if(m_vertices.begin(), m_vertices.end(),
[&data](const Vertex& v)

@ -1,6 +1,6 @@
#include <cxxtest/TestSuite.h>
#include "graph.hpp"
#include "graph/graph.hpp"
namespace test { class TestSubsystem1DummyClassSuite; }

Loading…
Cancel
Save