[Mobies-commit] [commit] r3840 - UDM/trunk/src/UdmGme
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Wed Aug 24 16:38:37 CDT 2011
Author: ksmyth
Date: Wed Aug 24 16:38:37 2011
New Revision: 3840
Log:
Fix logic inversion from r3835
Modified:
UDM/trunk/src/UdmGme/UdmGme.cpp
Modified: UDM/trunk/src/UdmGme/UdmGme.cpp
==============================================================================
--- UDM/trunk/src/UdmGme/UdmGme.cpp Wed Aug 24 16:34:38 2011 (r3839)
+++ UDM/trunk/src/UdmGme/UdmGme.cpp Wed Aug 24 16:38:37 2011 (r3840)
@@ -1720,7 +1720,7 @@
{
if (((::Uml::Class)role.target()) != kind)
{
- if (static_cast<GmeDataNetwork*>(const_cast<GmeObject*>(this)->__getdn())->priv.IsDerivedFrom(kind, role.target()))
+ if (!static_cast<GmeDataNetwork*>(const_cast<GmeObject*>(this)->__getdn())->priv.IsDerivedFrom(kind, role.target()))
throw udm_exception("GmeObject::CreateChild(): Role-Kindname mismatch");
}
More information about the Mobies-commit
mailing list