summaryrefslogtreecommitdiff
path: root/include/object.h
diff options
context:
space:
mode:
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