[Mobies-commit] [commit] r3827 - UDM/trunk/include
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Mon Aug 15 16:54:49 CDT 2011
Author: ksmyth
Date: Mon Aug 15 16:54:48 2011
New Revision: 3827
Log:
Performance optimization
Modified:
UDM/trunk/include/UdmBase.h
Modified: UDM/trunk/include/UdmBase.h
==============================================================================
--- UDM/trunk/include/UdmBase.h Fri Aug 12 15:05:46 2011 (r3826)
+++ UDM/trunk/include/UdmBase.h Mon Aug 15 16:54:48 2011 (r3827)
@@ -2576,7 +2576,11 @@
ArchetypeAttr(ObjectImpl *i) : impl(i) {}
operator CLASS() const
{
+#ifdef _DEBUG
return CLASS::Cast(impl->getArchetype());
+#else
+ return CLASS(impl->getArchetype());
+#endif
};
};
More information about the Mobies-commit
mailing list