[Mobies-commit] [commit] r3713 - UDM/trunk/src/Udm

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Mon May 2 12:51:42 CDT 2011


Author: ksmyth
Date: Mon May  2 12:51:42 2011
New Revision: 3713

Log:
Fix refport generation

Modified:
   UDM/trunk/src/Udm/ClassGen.cpp

Modified: UDM/trunk/src/Udm/ClassGen.cpp
==============================================================================
--- UDM/trunk/src/Udm/ClassGen.cpp	Mon May  2 12:26:26 2011	(r3712)
+++ UDM/trunk/src/Udm/ClassGen.cpp	Mon May  2 12:51:42 2011	(r3713)
@@ -944,7 +944,7 @@
 
 				::Uml::AssociationRole orp_helper = the_other.rp_helper();
 				if (orp_helper) {
-					typedefs.push_back( boost::format("typedef pair< %1%, vector<Udm::Object> > %2%_chain_t") % tclass_cpp_name % rel_name );
+					typedefs.push_back( boost::format("typedef std::pair< %1%, std::vector<Udm::Object> > %2%_chain_t") % tclass_cpp_name % rel_name );
 					meth_defs.push_back( boost::format("Udm::AssocEndChainAttr< %1%, %2%_chain_t > %2%_chain() const { return Udm::AssocEndChainAttr< %1%, %2%_chain_t >(impl, meta_%2%_end_); }") % tclass_cpp_name % rel_name );
 
 					string orp_helper_name = ::Uml::MakeRoleName(orp_helper);


More information about the Mobies-commit mailing list