mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
11 lines
477 B
C
11 lines
477 B
C
--- src/IPAddress.h.orig 2010-09-29 03:23:24 UTC
|
|
+++ src/IPAddress.h
|
|
@@ -16,7 +16,7 @@ public:
|
|
|
|
virtual int GetType() const = 0;
|
|
virtual bool operator==( const IPAddress & ) const = 0;
|
|
- virtual bool operator!=( const IPAddress & addr ) const { return !operator!=(addr); }
|
|
+ virtual bool operator!=( const IPAddress & addr ) const { return !operator==(addr); }
|
|
virtual char * ptr() const = 0;
|
|
virtual uint32_t hash() const = 0;
|
|
virtual IPAddress* Clone() const = 0;
|