Browse Source

Merge pull request #4844 from ghalliday/issue9463

HPCC-9463 Use CInterfaceOf for a hashtable base class

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 năm trước cách đây
mục cha
commit
0b0ce3e5e8
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      system/jlib/jhash.ipp

+ 1 - 3
system/jlib/jhash.ipp

@@ -46,11 +46,9 @@ class jlib_decl MappingKey
     void    *key;               /* points to the key for this element */
 };
 
-class jlib_decl MappingBase : implements IMapping, public CInterface
+class jlib_decl MappingBase : public CInterfaceOf<IMapping>
 {
   public:
-    IMPLEMENT_IINTERFACE
-
     virtual unsigned            getHash() const;
     virtual void                setHash(unsigned);