summaryrefslogtreecommitdiff
path: root/zend/objectimpl.h
diff options
context:
space:
mode:
author小马哥 <mabingyao@gmail.com>2014-08-16 17:23:35 +0800
committer小马哥 <mabingyao@gmail.com>2014-08-16 17:23:35 +0800
commit780fde0f4c07920c210cc45ef0c5e4b05f81c76f (patch)
tree96e48376b5e235050bcbc56a51d0dab5c04c51b8 /zend/objectimpl.h
parentcaa165ece89136a4ef6bde87df865d4288ff94cf (diff)
Update objectimpl.h
Diffstat (limited to 'zend/objectimpl.h')
-rw-r--r--zend/objectimpl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zend/objectimpl.h b/zend/objectimpl.h
index 64203b7..d72ddbd 100644
--- a/zend/objectimpl.h
+++ b/zend/objectimpl.h
@@ -98,14 +98,14 @@ public:
// when in thread safety mode, the destruct method and free method have
// an extra parameter holding thread information
- typedef void(*DestructType)(zend_object*,unsigned int,void***);
- typedef void(*FreeType)(zend_object*,void***);
+ using DestructType = void(*)(zend_object*,unsigned int,void***);
+ using FreeType = void(*)(zend_object*,void***);
#else
// not in thread mode: no special parameter for the tsrm_ls variable
- typedef void(*DestructType)(zend_object*, unsigned int);
- typedef void(*FreeType)(zend_object*);
+ using DestructType = void(*)(zend_object*, unsigned int);
+ using FreeType = void(*)(zend_object*);
#endif