Index: src/InitTweak/GenInit.cc
===================================================================
--- src/InitTweak/GenInit.cc	(revision 68fe077a5764a46debddf5a5dc89ef3614748ccd)
+++ src/InitTweak/GenInit.cc	(revision ef42b1433bc416cbf274adb71339c8b32a281a39)
@@ -218,4 +218,7 @@
 
 	bool CtorDtor::isManaged( Type * type ) const {
+		// need to clear and reset qualifiers when determining if a type is managed
+		ValueGuard< Type::Qualifiers > qualifiers( type->get_qualifiers() );
+		type->get_qualifiers() = Type::Qualifiers();
 		if ( TupleType * tupleType = dynamic_cast< TupleType * > ( type ) ) {
 			// tuple is also managed if any of its components are managed
