diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-02-28 15:26:52 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-02-28 15:26:52 +0100 |
commit | 13fe1d48fa4782dc65f974bbc1cec5e2e5e8d158 (patch) | |
tree | 9ccff4cc1c31caeca664b9b8c14685554fdd9959 /include/classbase.h | |
parent | 7cf89f18d766368dd4a14d35e4e144107ad7be36 (diff) |
fixed a number of todos
Diffstat (limited to 'include/classbase.h')
-rw-r--r-- | include/classbase.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/classbase.h b/include/classbase.h index 8b6d3dd..9fe1bda 100644 --- a/include/classbase.h +++ b/include/classbase.h @@ -50,22 +50,18 @@ public: /** * Copy constructor * @param that - * - * @todo add properties + * * @todo prefer move */ ClassBase(const ClassBase &that) : - _name(that._name), _flags(that._flags), _methods(that._methods) {} + _name(that._name), _flags(that._flags), _methods(that._methods), _members(that._members) {} /** * Move constructor * @param that - * - * @todo add properties - * @todo use move semantics */ ClassBase(ClassBase &&that) : - _flags(that._flags), _methods(std::move(that._methods)), _entry(that._entry) + _flags(that._flags), _methods(std::move(that._methods)), _methods(std::move(that._methods)), _entry(that._entry) { // 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 |