diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 06:33:44 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-08 01:50:03 -0800 |
commit | dfdb9ae0d3bc3689c3ca7b59e92f45c1b3ecb28f (patch) | |
tree | b2a20091c1ff238a838b6cfaaf36ecb80950ca0c /Menes | |
parent | 86cf87e24a37797fc9899825bd5ce1f1f5c1ce04 (diff) |
Fix _H<> copy assignment operator.
Diffstat (limited to 'Menes')
-rw-r--r-- | Menes/ObjectHandle.h | 4 |
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 |