diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-07 15:25:11 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-07 15:25:11 +0100 |
commit | 28e09660d30fc17969916673fdc8475ceeedbeb2 (patch) | |
tree | 4e511a09e30de37f9f154eb0760792f0d95bc696 /include/object.h | |
parent | 8c6652ae30202ba50f989a3b4d6c7255e4351251 (diff) |
added constructor to Php::Array class to accept std::vector and std::map
Diffstat (limited to 'include/object.h')
-rw-r--r-- | include/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/object.h b/include/object.h index a4d3c5a..1445943 100644 --- a/include/object.h +++ b/include/object.h @@ -22,7 +22,7 @@ public: /** * Constructor for an empty stdClass object */ - Object() : Value() { setType(Type::Object); } + Object() : Value(Type::Object) {} /** * Move constructor is passed to the parent |