diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-09 03:41:00 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-09 03:41:00 +0000 |
commit | ae40e5b7417df04d038df49eb5e028de4474a886 (patch) | |
tree | b4bb7a415903720b5786048bf2f4b33283976cfc /cpp/include/Ice/Handle.h | |
parent | more tests, fixes to operator< and operator== (diff) | |
download | ice-ae40e5b7417df04d038df49eb5e028de4474a886.tar.bz2 ice-ae40e5b7417df04d038df49eb5e028de4474a886.tar.xz ice-ae40e5b7417df04d038df49eb5e028de4474a886.zip |
fixes
Diffstat (limited to 'cpp/include/Ice/Handle.h')
-rw-r--r-- | cpp/include/Ice/Handle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Ice/Handle.h b/cpp/include/Ice/Handle.h index 60b83d191fc..71bf7dbae4e 100644 --- a/cpp/include/Ice/Handle.h +++ b/cpp/include/Ice/Handle.h @@ -173,7 +173,7 @@ template<typename T, typename U> inline bool operator==(const Handle<T>& a, const Handle<U>& b) { T* ap = a.get(); - T* bp = b.get(); + U* bp = b.get(); if (ap == bp) { return true; @@ -193,7 +193,7 @@ template<typename T, typename U> inline bool operator<(const Handle<T>& a, const Handle<U>& b) { T* ap = a.get(); - T* bp = b.get(); + U* bp = b.get(); if (!ap || !bp) { if (!ap && bp) |