[Mobies-commit] [commit] r3836 - UDM/trunk/src/UdmGme

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Wed Aug 24 16:32:52 CDT 2011


Author: ksmyth
Date: Wed Aug 24 16:32:50 2011
New Revision: 3836

Log:
ASSERT was all sorts of wrong

Modified:
   UDM/trunk/src/UdmGme/UdmGme.cpp

Modified: UDM/trunk/src/UdmGme/UdmGme.cpp
==============================================================================
--- UDM/trunk/src/UdmGme/UdmGme.cpp	Tue Aug 23 10:35:59 2011	(r3835)
+++ UDM/trunk/src/UdmGme/UdmGme.cpp	Wed Aug 24 16:32:50 2011	(r3836)
@@ -1849,7 +1849,7 @@
 			cache = derived_map.find(kind.uniqueId());
 		}
 		bool ret = std::binary_search(cache->second.begin(), cache->second.end(), derived.uniqueId());
-		ASSERT((Uml::IsDerivedFrom(derived, kind) ^ ret));
+		ASSERT((Uml::IsDerivedFrom(derived, kind) == ret));
 		return ret;
 	}
 


More information about the Mobies-commit mailing list