* src/graph/ngraph.hh (names): Fix constness.

This commit is contained in:
Alexandre Duret-Lutz 2014-08-10 20:01:49 +02:00
parent cccb6edfdd
commit 6dc29547fe

View file

@ -99,7 +99,7 @@ namespace spot
return name_to_state.find(n) != name_to_state.end();
}
state_to_name_t& names()
const state_to_name_t& names() const
{
return state_to_name;
}