Commit 7ea984b1 authored by Florent D'Halluin's avatar Florent D'Halluin
Browse files

[yavgui] GState: mark getter as const.

* yavgui/src/g_state.hh,
* yavgui/src/g_state.hxx: Do that.
parent 1857fd38
2009-08-04 d-halluin <d-halluin@lrde.epita.fr>
[yavgui] GState: mark getter as const.
* yavgui/src/g_state.hh,
* yavgui/src/g_state.hxx: Do that.
2009-08-04 d-halluin <d-halluin@lrde.epita.fr>
 
[yavgui] Enable transition deletion.
......
......@@ -78,7 +78,7 @@ namespace gui
inline void set_final_entry (QString final_entry);
inline QString final_entry ();
inline int index ();
inline int index () const;
public slots:
void refresh ();
......
......@@ -85,7 +85,8 @@ namespace gui
final_entry_ = final_entry;
}
int GState::index ()
int
GState::index () const
{
return index_;
}
......
Supports Markdown
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