1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Use const where possible.

This commit is contained in:
Bruno Haible
2003-01-13 19:57:56 +00:00
parent 3a01fe39b2
commit 741d34fb07
10 changed files with 86 additions and 52 deletions

View File

@@ -24,7 +24,7 @@
/* Access to first element of list. */
INLINE Keyword *
Keyword_List::first ()
Keyword_List::first () const
{
return _car;
}
@@ -40,7 +40,7 @@ Keyword_List::rest ()
/* Access to first element of list. */
INLINE KeywordExt *
KeywordExt_List::first ()
KeywordExt_List::first () const
{
return static_cast<KeywordExt*>(_car);
}