diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-08-26 12:49:40 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-08-26 12:49:40 +0200 |
commit | a286c34777e48d59410e7511f52f4a6f08000ba3 (patch) | |
tree | 0d6b20409d80a4073b8448e1ecc526e8165de034 /include | |
parent | 0e24f714fa8ddc4e45b858a1eec25ef1d84e7654 (diff) |
Value objects allocated with a const char * that is set to null, will not create NULL php values
Diffstat (limited to 'include')
-rw-r--r-- | include/value.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/value.h b/include/value.h index 63e8e6f..c6b1af9 100644 --- a/include/value.h +++ b/include/value.h @@ -441,8 +441,6 @@ public: template <typename T> std::vector<T> vectorValue() const { - - // only works for arrays, other types return an empty vector if (!isArray()) return std::vector<T>(); |