Skip to content

Commit 8057cfe

Browse files
author
roman_yakovenko
committed
small bug fix
1 parent 525d3ba commit 8057cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygccxml/declarations/class_declaration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def find_noncopyable_vars( self ):
509509
for mvar in mvars:
510510
type_ = tt.remove_reference( mvar.type )
511511
if tt.is_const( type_ ):
512-
no_const = remove_const( type_ )
512+
no_const = tt.remove_const( type_ )
513513
if tt.is_fundamental( no_const ) or tt.is_enum( no_const):
514514
logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes const member variable - fundamental or enum" % self.decl_string )
515515
noncopyable_vars.append( mvar )

0 commit comments

Comments
 (0)