diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-02 23:28:10 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-02 23:28:10 +0100 |
commit | 8f24af4c28e74ef1769aef6ab00c480e09be7453 (patch) | |
tree | c73b7de11abbdd8ed2d3f3fa5b63fdd2a1409cb8 /include/hashmember.h | |
parent | f7dcf5d81fa1e43533c786d9443e5222398dc8b9 (diff) |
work in progress to support implementing SPL interfaces, disabled the _self variable in Php::Base because by having each object keeping a reference to itself, the refcounter never reached zero and the object was thus never destructed, checking if we can get a new implementation one way or another
Diffstat (limited to 'include/hashmember.h')
-rw-r--r-- | include/hashmember.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hashmember.h b/include/hashmember.h index a61865c..9933445 100644 --- a/include/hashmember.h +++ b/include/hashmember.h @@ -350,6 +350,8 @@ private: */ HashMember(const Value *base, Type index) : _base(*base), _index(index) {} + // @todo add move constructor + /** * Protected copy constructor * @param value Other element @@ -389,7 +391,7 @@ private: * Only value objects may construct members */ friend class Value; - friend class Properties; + friend class Base; }; |