[Mobies-commit] [commit] r4148 - UDM/trunk/src/UdmPython
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Thu Dec 27 12:39:06 CST 2012
Author: ksmyth
Date: Thu Dec 27 12:39:06 2012
New Revision: 4148
Log:
Dont use new SmartDataNetwork for backwards compat
Modified:
UDM/trunk/src/UdmPython/UdmPython.cpp
Modified: UDM/trunk/src/UdmPython/UdmPython.cpp
==============================================================================
--- UDM/trunk/src/UdmPython/UdmPython.cpp Thu Dec 27 12:38:46 2012 (r4147)
+++ UDM/trunk/src/UdmPython/UdmPython.cpp Thu Dec 27 12:39:06 2012 (r4148)
@@ -99,7 +99,7 @@
// Helper function so lifetimes are managed properly
Udm::SmartDataNetwork* SDN_NewHelper(Uml::Diagram* umldiag, Udm::UdmDiagram* udmdiag) {
- return new Udm::SmartDataNetwork(*udmdiag);
+ return (Udm::SmartDataNetwork*)Udm::CreateSmartDataNetwork(*udmdiag);
}
object SDN_NewHelper_ = make_function(SDN_NewHelper, with_custodian_and_ward_postcall<0, 1,
More information about the Mobies-commit
mailing list