Index: src/InitTweak/GenInit.cc
===================================================================
--- src/InitTweak/GenInit.cc	(revision a7c90d4d68e0538c8215b52b958e12c56980c401)
+++ src/InitTweak/GenInit.cc	(revision 88d10665a73cc1147514e3cef6b77373df740153)
@@ -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
