Index: src/InitTweak/GenInit.cc
===================================================================
--- src/InitTweak/GenInit.cc	(revision ebb5ed97e24d201a4b63b9fcebd313093b1bf3bc)
+++ src/InitTweak/GenInit.cc	(revision 0b465a5af38252da7a77ed7395165c35eee337ae)
@@ -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
