summaryrefslogtreecommitdiff
path: root/src/object.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-24 14:54:53 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-24 14:54:53 +0100
commit42b5a3072d5f2b831cecbc8b8d3e1fb35a47cec4 (patch)
tree9bd8e6d52be240300ff92e82a9560e6033056ddf /src/object.cpp
parentaecf6c450fc4ad9b1b3ee0ce4450b9dac5ce2967 (diff)
fixed compile issues with TSRM enabled
Diffstat (limited to 'src/object.cpp')
-rw-r--r--src/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.cpp b/src/object.cpp
index a0777fe..05449bc 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -37,7 +37,7 @@ Object::Object(const char *name, Base *base)
if (!entry) throw Php::Exception(std::string("Unknown class name ") + name);
// store the object in the php object cache (this will give the object a handle)
- base->store(entry);
+ base->store(entry TSRMLS_CC);
// now we can store it
operator=(Value(base));