summaryrefslogtreecommitdiff
path: root/Menes/ObjectHandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'Menes/ObjectHandle.h')
-rw-r--r--Menes/ObjectHandle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Menes/ObjectHandle.h b/Menes/ObjectHandle.h
index fa446a5..716e6f4 100644
--- a/Menes/ObjectHandle.h
+++ b/Menes/ObjectHandle.h
@@ -85,6 +85,10 @@ class MenesObjectHandle {
CFRelease((CFTypeRef) old);
} return *this;
}
+
+ _finline MenesObjectHandle &operator =(const MenesObjectHandle &value) {
+ return this->operator =(value.operator Type_ *());
+ }
};
#define _H MenesObjectHandle