summaryrefslogtreecommitdiff
path: root/include/object.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-07 15:25:11 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-07 15:25:11 +0100
commit28e09660d30fc17969916673fdc8475ceeedbeb2 (patch)
tree4e511a09e30de37f9f154eb0760792f0d95bc696 /include/object.h
parent8c6652ae30202ba50f989a3b4d6c7255e4351251 (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.h2
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