diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-10 11:30:36 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-10 11:31:41 +0200 |
commit | ec2ee67b805b3f431db4ce2f9cdfc8d74aadfe35 (patch) | |
tree | bff9b6760a01c479c62b019859f20eb4a5398241 /include/value.h | |
parent | 2bcd097519405ef2fb3b600ddc8ec58b332fa040 (diff) |
calls to strlen has been converted into calls to ::strlen, because Php::strlen() now also exists as (slow) php function, see issue #78
Diffstat (limited to 'include/value.h')
-rw-r--r-- | include/value.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/value.h b/include/value.h index d1e6c8a..d64eeed 100644 --- a/include/value.h +++ b/include/value.h @@ -571,7 +571,7 @@ public: */ bool contains(const char *key) const { - return contains(key, strlen(key)); + return contains(key, ::strlen(key)); } /** @@ -741,7 +741,7 @@ public: */ void set(const char *key, const Value &value) { - set(key, strlen(key), value); + set(key, ::strlen(key), value); } /** @@ -787,7 +787,7 @@ public: */ void unset(const char *key) { - unset(key, strlen(key)); + unset(key, ::strlen(key)); } /** |