From 6dc29547fefca6b58e6e06722dc0b186725f1f63 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sun, 10 Aug 2014 20:01:49 +0200 Subject: [PATCH] * src/graph/ngraph.hh (names): Fix constness. --- src/graph/ngraph.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/ngraph.hh b/src/graph/ngraph.hh index 42a97816e..f68d02c42 100644 --- a/src/graph/ngraph.hh +++ b/src/graph/ngraph.hh @@ -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; }