[commit] r1838 - trunk/GME/Parser
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Fri Feb 24 09:53:25 CST 2012
Author: ksmyth
Date: Fri Feb 24 09:53:25 2012
New Revision: 1838
Log:
ASSERT for empty rolename in xme bug
Modified:
trunk/GME/Parser/MgaDumper.cpp
Modified: trunk/GME/Parser/MgaDumper.cpp
==============================================================================
--- trunk/GME/Parser/MgaDumper.cpp Fri Feb 24 09:53:15 2012 (r1837)
+++ trunk/GME/Parser/MgaDumper.cpp Fri Feb 24 09:53:25 2012 (r1838)
@@ -1191,6 +1191,12 @@
StartElem(_T("connpoint"));
+#ifdef _DEBUG
+ CComBSTR rolename;
+ connpoint->get_ConnRole(&rolename);
+ ASSERT(rolename.Length() != 0);
+#endif
+
Attr(_T("role"), connpoint, &IMgaConnPoint::get_ConnRole);
CComObjPtr<IMgaFCO> target;
More information about the gme-commit
mailing list