[pygccxml-commit] SF.net SVN: pygccxml: [1355] pygccxml_dev/pygccxml/declarations/ class_declaratio
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2008-06-26 06:12:56
|
Revision: 1355 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1355&view=rev Author: roman_yakovenko Date: 2008-06-25 23:13:05 -0700 (Wed, 25 Jun 2008) Log Message: ----------- small bug fix Modified Paths: -------------- pygccxml_dev/pygccxml/declarations/class_declaration.py Modified: pygccxml_dev/pygccxml/declarations/class_declaration.py =================================================================== --- pygccxml_dev/pygccxml/declarations/class_declaration.py 2008-06-25 19:59:13 UTC (rev 1354) +++ pygccxml_dev/pygccxml/declarations/class_declaration.py 2008-06-26 06:13:05 UTC (rev 1355) @@ -519,8 +519,8 @@ if tt.is_array( no_const ): logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes const member variable - array" % self.decl_string ) noncopyable_vars.append( mvar ) - if tt.is_class( type_ ): - cls = type_.declaration + if tt.class_traits.is_my_case( type_ ): + cls = tt.class_traits.get_declaration( type_ ) if tt.is_noncopyable( cls ): logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes member variable - class that is not copyable" % self.decl_string ) noncopyable_vars.append( mvar ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |