diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-06-05 10:53:04 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-06-05 10:53:04 +0200 |
commit | 158d0974df9207e89dc63b55812e0d073195f0f5 (patch) | |
tree | 02ebe3993ee8d3c9411c82cb2110fc18e6e7ea25 | |
parent | 31c892ce1af0664edb48a64c8727bd71d1380555 (diff) |
rolled back change, the abstract flag should always be added if implementation is missing
-rw-r--r-- | zend/classimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Method>(name, (flags & (MethodModifiers | Static | Abstract)) , args)); } + void method(const char *name, int flags=0, const Arguments &args = {}) { _methods.push_back(std::make_shared<Method>(name, (flags & (MethodModifiers | Static)) | Abstract , args)); } /** * Add a property to the class |