summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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