diff options
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r-- | cpp/src/Ice/Reference.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp index 3822d8afee6..dadbdf8af0d 100644 --- a/cpp/src/Ice/Reference.cpp +++ b/cpp/src/Ice/Reference.cpp @@ -1900,8 +1900,8 @@ struct EndpointIsIncompatible : public unary_function<EndpointIPtr, bool> operator()(const EndpointIPtr& p) const { // If the enpoint doesn't support the proxy encoding or protocol, it's incompatible. - return !(isSupported(_reference->getEncoding(), p->encoding()) && - isSupported(currentProtocol, p->protocol())); + return !(isSupported(_reference->getEncoding(), p->encodingVersion()) && + isSupported(currentProtocol, p->protocolVersion())); } }; |