diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-10-02 16:56:30 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-10-02 16:56:30 -0230 |
commit | 60015160ad9c3540c81d4281ebc0806a6281cace (patch) | |
tree | 3a52c3bdf6d1db4f6476b3522588521cd1eac3b7 /cpp/src/Ice/EndpointI.h | |
parent | Remove commented code (diff) | |
download | ice-60015160ad9c3540c81d4281ebc0806a6281cace.tar.bz2 ice-60015160ad9c3540c81d4281ebc0806a6281cace.tar.xz ice-60015160ad9c3540c81d4281ebc0806a6281cace.zip |
Resolve some BCC compiler warnings
Diffstat (limited to 'cpp/src/Ice/EndpointI.h')
-rw-r--r-- | cpp/src/Ice/EndpointI.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/src/Ice/EndpointI.h b/cpp/src/Ice/EndpointI.h index 7b4b76fbf9b..a2e616ca176 100644 --- a/cpp/src/Ice/EndpointI.h +++ b/cpp/src/Ice/EndpointI.h @@ -143,6 +143,22 @@ public: virtual bool operator!=(const EndpointI&) const = 0; virtual bool operator<(const EndpointI&) const = 0; +#if defined(__BCPLUSPLUS__) + // + // COMPILERFIX: Avoid warnings about hiding members for C++Builder 2010 + // + // + virtual bool operator==(const Ice::LocalObject& rhs) const + { + return Ice::LocalObject::operator==(rhs); + } + + virtual bool operator<(const Ice::LocalObject& rhs) const + { + return Ice::LocalObject::operator<(rhs); + } +#endif + protected: virtual std::vector<ConnectorPtr> connectors(const std::vector<struct sockaddr_storage>&) const; |