summaryrefslogtreecommitdiff
path: root/Menes/ObjectHandle.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-07 06:33:44 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-08 01:50:03 -0800
commitdfdb9ae0d3bc3689c3ca7b59e92f45c1b3ecb28f (patch)
treeb2a20091c1ff238a838b6cfaaf36ecb80950ca0c /Menes/ObjectHandle.h
parent86cf87e24a37797fc9899825bd5ce1f1f5c1ce04 (diff)
Fix _H<> copy assignment operator.
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