summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-29 17:19:28 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-29 17:19:28 +0100
commit52ece0cd439b21efb07bc1d50928c5512785a9bc (patch)
tree798f85fc99413e6e4d02626d0db1e8634175934e /src
parent6a760adf754ed4b736b2a2e4c08936f005a71bcb (diff)
fixed broken texts because of wrong return value of many chaining methods in Class.h
Diffstat (limited to 'src')
-rw-r--r--src/value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.cpp b/src/value.cpp
index 9ea9c1a..26c753f 100644
--- a/src/value.cpp
+++ b/src/value.cpp
@@ -173,7 +173,7 @@ Value::Value(struct _zval_struct *val, bool ref)
* Wrap around an object
* @param object
*/
-Value::Value(Base *object)
+Value::Value(const Base *object)
{
// there are two options: the object was constructed from user space,
// and is already linked to a handle, or it was constructed from C++