Commit fd5290c9 authored by Pietro Incardona's avatar Pietro Incardona

Small refactorization + coverty fix

parent 7988298e
......@@ -208,6 +208,11 @@ struct vertex_node
create_prop<typename G::V_type>(attributes_names);
};
inline ~vertex_node()
{
delete [] attributes_names;
}
#ifdef DEBUG
/*! \brief Constructor
*
......
......@@ -71,6 +71,8 @@ struct RGB getColor(int group, std::uniform_real_distribution<float> & d, std::d
float s = d(g);
group = group % 12;
#ifdef ON_IO_UNIT_TESTS
s = 0.5;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment