Index: src/InitTweak/GenInit.cc
===================================================================
--- src/InitTweak/GenInit.cc	(revision 08d5507b99eb502f8fb69133c61233301ed6b029)
+++ src/InitTweak/GenInit.cc	(revision 2f26687a4d0fc0c7de8418af76ff6fc9bcc47a77)
@@ -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
