diff options
| author | Stephen Kelly <steveire@gmail.com> | 2017-02-05 22:45:06 +0000 | 
|---|---|---|
| committer | Stephen Kelly <steveire@gmail.com> | 2017-02-05 22:45:06 +0000 | 
| commit | 7476b10fda3eee649ca573844de95dc83085120f (patch) | |
| tree | c7e3d04029f99561a342ab27965efac07abef4a1 /find-modules | |
| parent | 66a7d95e6d4a5bb742e2077389bd99212ee7642d (diff) | |
| download | extra-cmake-modules-7476b10fda3eee649ca573844de95dc83085120f.tar.gz extra-cmake-modules-7476b10fda3eee649ca573844de95dc83085120f.tar.bz2  | |
Revert "Automatically mark classes with pure virtual functions as /Abstract/."
With some combination of PyQt/compiler this breaks the build of
kcoreaddons.
This reverts commit 2e20aeab6e86670a66ff99a7b79120c4004b4d22.
Diffstat (limited to 'find-modules')
| -rw-r--r-- | find-modules/sip_generator.py | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/find-modules/sip_generator.py b/find-modules/sip_generator.py index ab1bac31..58ae1829 100644 --- a/find-modules/sip_generator.py +++ b/find-modules/sip_generator.py @@ -221,8 +221,6 @@ class SipGenerator(object):              if member.kind in [CursorKind.CXX_METHOD, CursorKind.FUNCTION_DECL, CursorKind.FUNCTION_TEMPLATE,                                 CursorKind.CONSTRUCTOR, CursorKind.DESTRUCTOR, CursorKind.CONVERSION_FUNCTION]:                  decl = self._fn_get(container, member, level + 1) -                if member.is_pure_virtual_method(): -                    sip["annotations"].add("Abstract")              elif member.kind == CursorKind.ENUM_DECL:                  decl = self._enum_get(container, member, level + 1) + ";\n"              elif member.kind == CursorKind.CXX_ACCESS_SPEC_DECL:  | 
