summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/ProxyHandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/ProxyHandle.h')
-rw-r--r--cpp/include/Ice/ProxyHandle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Ice/ProxyHandle.h b/cpp/include/Ice/ProxyHandle.h
index 8b9ab8f54e0..5a9d0069bef 100644
--- a/cpp/include/Ice/ProxyHandle.h
+++ b/cpp/include/Ice/ProxyHandle.h
@@ -149,7 +149,7 @@ template<typename T, typename U>
inline bool operator==(const ProxyHandle<T>& a, const ProxyHandle<U>& b)
{
T* ap = a.get();
- T* bp = b.get();
+ U* bp = b.get();
if (ap == bp)
{
return true;
@@ -169,7 +169,7 @@ template<typename T, typename U>
inline bool operator<(const ProxyHandle<T>& a, const ProxyHandle<U>& b)
{
T* ap = a.get();
- T* bp = b.get();
+ U* bp = b.get();
if (!ap || !bp)
{
if (!ap && bp)