2010-10-02 Doug Kwan <dougkwan@google.com>

* symtab.cc (Symbol_table::Symbol_table_hash::operator()): Move
	defintion to symtab.h
	* symtab.h (Symbol_table::Symbol_table_hash::operator()): Change
	declaration to defintion.
This commit is contained in:
Doug Kwan
2010-10-02 09:35:20 +00:00
parent 9ce00134f4
commit a9bfd952d1
3 changed files with 13 additions and 10 deletions

View File

@@ -501,14 +501,6 @@ Symbol_table::~Symbol_table()
{
}
// The hash function. The key values are Stringpool keys.
inline size_t
Symbol_table::Symbol_table_hash::operator()(const Symbol_table_key& key) const
{
return key.first ^ key.second;
}
// The symbol table key equality function. This is called with
// Stringpool keys.