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:
@@ -35,7 +35,7 @@ public:
|
||||
Keyword_List (Keyword *car);
|
||||
|
||||
/* Access to first element of list. */
|
||||
Keyword * first ();
|
||||
Keyword * first () const;
|
||||
/* Access to next element of list. */
|
||||
Keyword_List *& rest ();
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
KeywordExt_List (KeywordExt *car);
|
||||
|
||||
/* Access to first element of list. */
|
||||
KeywordExt * first ();
|
||||
KeywordExt * first () const;
|
||||
/* Access to next element of list. */
|
||||
KeywordExt_List *& rest ();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user