summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Handle.h')
-rw-r--r--cpp/include/Ice/Handle.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/cpp/include/Ice/Handle.h b/cpp/include/Ice/Handle.h
index c224ceace4e..1f4d30b7c50 100644
--- a/cpp/include/Ice/Handle.h
+++ b/cpp/include/Ice/Handle.h
@@ -48,7 +48,7 @@ public:
if(this->_ptr)
{
- incRef(this->_ptr);
+ upCast(this->_ptr)->__incRef();
}
}
@@ -59,7 +59,7 @@ public:
if(this->_ptr)
{
- incRef(this->_ptr);
+ upCast(this->_ptr)->__incRef();
}
}
@@ -70,7 +70,7 @@ public:
if(this->_ptr)
{
- incRef(this->_ptr);
+ upCast(this->_ptr)->__incRef();
}
}
@@ -80,7 +80,7 @@ public:
if(this->_ptr)
{
- incRef(this->_ptr);
+ upCast(this->_ptr)->__incRef();
}
}
@@ -88,7 +88,7 @@ public:
{
if(this->_ptr)
{
- decRef(this->_ptr);
+ upCast(this->_ptr)->__decRef();
}
}
@@ -98,7 +98,7 @@ public:
{
if(p)
{
- incRef(p);
+ upCast(p)->__incRef();
}
T* ptr = this->_ptr;
@@ -106,7 +106,7 @@ public:
if(ptr)
{
- decRef(ptr);
+ upCast(ptr)->__decRef();
}
}
return *this;
@@ -119,7 +119,7 @@ public:
{
if(r._ptr)
{
- incRef(r._ptr);
+ upCast(r._ptr)->__incRef();
}
T* ptr = this->_ptr;
@@ -127,7 +127,7 @@ public:
if(ptr)
{
- decRef(ptr);
+ upCast(ptr)->__decRef();
}
}
return *this;
@@ -140,7 +140,7 @@ public:
{
if(r._ptr)
{
- incRef(r._ptr);
+ upCast(r._ptr)->__incRef();
}
T* ptr = this->_ptr;
@@ -148,7 +148,7 @@ public:
if(ptr)
{
- decRef(ptr);
+ upCast(ptr)->__decRef();
}
}
return *this;
@@ -160,7 +160,7 @@ public:
{
if(r._ptr)
{
- incRef(r._ptr);
+ upCast(r._ptr)->__incRef();
}
T* ptr = this->_ptr;
@@ -168,7 +168,7 @@ public:
if(ptr)
{
- decRef(ptr);
+ upCast(ptr)->__decRef();
}
}
return *this;