summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-07-23 11:20:18 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-07-23 11:20:18 +0200
commitdb7cb1d6e44470b820fd5f4f4650a8c4ce392ab6 (patch)
treeb0b907ac6367c4e13d8d894636bf5efd3158254e /include
parentf66ec20be218343766db3441fd20ff979d50240e (diff)
It now is possible to assign Php::Value["whatever"] results directly to new Php::Value objects
Diffstat (limited to 'include')
-rw-r--r--include/value.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h
index e61750b..3aad995 100644
--- a/include/value.h
+++ b/include/value.h
@@ -164,6 +164,8 @@ public:
Value &operator=(const std::string &value);
Value &operator=(const char *value);
Value &operator=(double value);
+ Value &operator=(const HashMember<std::string> &value);
+ Value &operator=(const HashMember<int> &value);
/**
* Add a value to the object