We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8057cfe commit dd7a83eCopy full SHA for dd7a83e
pygccxml/declarations/class_declaration.py
@@ -519,8 +519,8 @@ def find_noncopyable_vars( self ):
519
if tt.is_array( no_const ):
520
logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes const member variable - array" % self.decl_string )
521
noncopyable_vars.append( mvar )
522
- if tt.is_class( type_ ):
523
- cls = type_.declaration
+ if tt.class_traits.is_my_case( type_ ):
+ cls = tt.class_traits.get_declaration( type_ )
524
if tt.is_noncopyable( cls ):
525
logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes member variable - class that is not copyable" % self.decl_string )
526
0 commit comments