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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user