summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-16 15:22:00 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-16 15:22:00 +0100
commit03a2749a311c75e0f34070b2d6f991855f329fc9 (patch)
tree523c02dac35c3f11c43500c8337a5e259a4733b7 /include/value.h
parentb535eb72dcf1ee37686003b92b07b070be5e8e75 (diff)
removed Value constructor that wraps around a hash table
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/value.h b/include/value.h
index 94cc1cf..d49ce4a 100644
--- a/include/value.h
+++ b/include/value.h
@@ -113,12 +113,6 @@ public:
Value(struct _zval_struct *zval, bool ref = false);
/**
- * Wrap around a hash table
- * @param ht Hashtable to wrap
- */
- Value(struct _hashtable *ht);
-
- /**
* Wrap around an object implemented by us
* @param object Object to be wrapped
*/
@@ -445,6 +439,8 @@ 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>();