More effectively disable the helper class when pure virtual methods are found that cannot be generated.
This commit is contained in:
1 parent
7359345adc
commit
f48e3618a6
2 files changed
+7
No files matched your search
@@ -680,6 +680,11 @@ public:
|
||||
if self.have_pure_virtual_methods and self.helper_class is None:
|
||||
self.cannot_be_constructed = True
|
||||
|
||||
def set_helper_class_disabled(self, flag=True):
|
||||
self.helper_class_disabled = flag
|
||||
if flag:
|
||||
self.helper_class = None
|
||||
|
||||
def set_cannot_be_constructed(self, flag=True):
|
||||
self.cannot_be_constructed = flag
|
||||
|
||||
|
||||
Reference in new issue
Block a user