summaryrefslogtreecommitdiff
path: root/zend/super.cpp
diff options
context:
space:
mode:
authorandot <mabingyao@gmail.com>2014-07-23 14:39:05 +0800
committerandot <mabingyao@gmail.com>2014-07-23 14:39:05 +0800
commitcaa165ece89136a4ef6bde87df865d4288ff94cf (patch)
tree5994fc7695a79668a32c78999a3376c3cdb3edd8 /zend/super.cpp
parent2abffa80e10a9e0c4203310f0fa5b3f6949062e1 (diff)
Fixed compatibility issue with VS2013
Diffstat (limited to 'zend/super.cpp')
-rw-r--r--zend/super.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zend/super.cpp b/zend/super.cpp
index c25efeb..a2fa0a9 100644
--- a/zend/super.cpp
+++ b/zend/super.cpp
@@ -40,7 +40,7 @@ Value Super::operator[](const std::string &key)
Value value(PG(http_globals)[_index]);
// pass on the call
- return value[key];
+ return value.get(key);
}
/**
@@ -61,7 +61,7 @@ Value Super::operator[](const char *key)
Value value(PG(http_globals)[_index]);
// pass on the call
- return value[key];
+ return value.get(key);
}
/**