diff options
Diffstat (limited to 'cpp/include/Ice/Handle.h')
-rw-r--r-- | cpp/include/Ice/Handle.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/include/Ice/Handle.h b/cpp/include/Ice/Handle.h index 4e11cffca2a..c9ee481d622 100644 --- a/cpp/include/Ice/Handle.h +++ b/cpp/include/Ice/Handle.h @@ -46,7 +46,7 @@ public: upCast(this->_ptr)->__incRef(); } } - + template<typename Y> Handle(const Handle<Y>& r) { @@ -78,7 +78,7 @@ public: upCast(this->_ptr)->__incRef(); } } - + ~Handle() { if(this->_ptr) @@ -86,7 +86,7 @@ public: upCast(this->_ptr)->__decRef(); } } - + Handle& operator=(T* p) { if(this->_ptr != p) @@ -106,7 +106,7 @@ public: } return *this; } - + template<typename Y> Handle& operator=(const Handle<Y>& r) { @@ -168,7 +168,7 @@ public: } return *this; } - + template<class Y> static Handle dynamicCast(const ::IceUtil::HandleBase<Y>& r) { |