mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
Use const where possible.
This commit is contained in:
@@ -121,7 +121,7 @@ Hash_Table::~Hash_Table ()
|
||||
|
||||
/* Compares two items. */
|
||||
inline bool
|
||||
Hash_Table::equal (KeywordExt *item1, KeywordExt *item2)
|
||||
Hash_Table::equal (KeywordExt *item1, KeywordExt *item2) const
|
||||
{
|
||||
return item1->_selchars_length == item2->_selchars_length
|
||||
&& memcmp (item1->_selchars, item2->_selchars, item2->_selchars_length)
|
||||
|
||||
Reference in New Issue
Block a user