summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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++