From 158d0974df9207e89dc63b55812e0d073195f0f5 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Fri, 5 Jun 2015 10:53:04 +0200 Subject: rolled back change, the abstract flag should always be added if implementation is missing --- zend/classimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zend/classimpl.h b/zend/classimpl.h index bd385be..5d0ab60 100644 --- a/zend/classimpl.h +++ b/zend/classimpl.h @@ -414,7 +414,7 @@ public: * @param flags Optional flags (like public or protected) * @param args Description of the supported arguments */ - void method(const char *name, int flags=0, const Arguments &args = {}) { _methods.push_back(std::make_shared(name, (flags & (MethodModifiers | Static | Abstract)) , args)); } + void method(const char *name, int flags=0, const Arguments &args = {}) { _methods.push_back(std::make_shared(name, (flags & (MethodModifiers | Static)) | Abstract , args)); } /** * Add a property to the class -- cgit v1.2.3