From 316e96df2b48b1986488bfd57db37b9708f3e4ca Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 29 Jun 2010 09:01:17 +0000 Subject: SCI: Removed reg_t_EqualTo, since reg_t already defines an equals operator svn-id: r50485 --- engines/sci/engine/gc.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/engine/gc.h b/engines/sci/engine/gc.h index 9f9347ca18..cfae517790 100644 --- a/engines/sci/engine/gc.h +++ b/engines/sci/engine/gc.h @@ -33,12 +33,6 @@ namespace Sci { -struct reg_t_EqualTo { - bool operator()(const reg_t& x, const reg_t& y) const { - return (x.segment == y.segment) && (x.offset == y.offset); - } -}; - struct reg_t_Hash { uint operator()(const reg_t& x) const { return (x.segment << 3) | x.offset; @@ -48,7 +42,7 @@ struct reg_t_Hash { /* * The reg_t_hash_map is actually really a hashset */ -typedef Common::HashMap reg_t_hash_map; +typedef Common::HashMap reg_t_hash_map; /** * Finds all used references and normalises them to their memory addresses -- cgit v1.2.3