This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cxx-conversion] various hash tables, part 1/2


On 2012-12-03 14:24 , Lawrence Crowl wrote:


}

-static int
-htab_cu_eq (const void *of1, const void *of2)
+inline bool
+cu_hash_table_entry_hasher::equal (const value_type *entry1,
+                                  const compare_type *entry2)

No static?

The in-class declaration has the static keyword. (It's still a global symbol though, not local.)

Ah, right. I've seen other cases where the patch removes the 'static' qualifier in free functions, though (in the second patch too). Did you need to make those functions externally available?




Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]