diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-01 16:39:52 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-01 16:39:52 +0200 |
commit | 61ded13eaa25b332208cd659c5c844890db0cb57 (patch) | |
tree | c50f5319fc975faf80e3a7a41a9b8cdb36656bec /include/classbase.h | |
parent | 777949f8751ded6e56140bb513c6b93e4d5c3f08 (diff) |
much simpler implementation of hash member, i do not understand why i first used this complicated zval wrapping implementation, fixes problems reported in issue #56
Diffstat (limited to 'include/classbase.h')
-rw-r--r-- | include/classbase.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/classbase.h b/include/classbase.h index 4e03f1c..f4a6f22 100644 --- a/include/classbase.h +++ b/include/classbase.h @@ -94,10 +94,10 @@ public: ClassBase(const ClassBase &that) : _name(that._name), _type(that._type), + _entry(that._entry), _methods(that._methods), _members(that._members), - _properties(that._properties), - _entry(nullptr) {} + _properties(that._properties) {} /** * Move constructor @@ -106,10 +106,10 @@ public: ClassBase(ClassBase &&that) : _name(std::move(that._name)), _type(that._type), + _entry(that._entry), _methods(std::move(that._methods)), _members(std::move(that._members)), - _properties(std::move(that._properties)), - _entry(that._entry) + _properties(std::move(that._properties)) { // other entry are invalid now (not that it is used..., class objects are // only moved during extension setup, when the entry pointer has not yet |