[Mobies-commit] [commit] r3782 - UDM/trunk/src/UdmBase
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Wed Jul 6 10:31:45 CDT 2011
Author: ksmyth
Date: Wed Jul 6 10:31:44 2011
New Revision: 3782
Log:
Fix compile from r3781
Modified:
UDM/trunk/src/UdmBase/UdmBase.cpp
Modified: UDM/trunk/src/UdmBase/UdmBase.cpp
==============================================================================
--- UDM/trunk/src/UdmBase/UdmBase.cpp Wed Jul 6 10:28:06 2011 (r3781)
+++ UDM/trunk/src/UdmBase/UdmBase.cpp Wed Jul 6 10:31:44 2011 (r3782)
@@ -1863,7 +1863,7 @@
UDM_DLL string ObjectImpl::getPath(const string &strDelimiter, bool bNeedRootFolder) const
{
- DataNetwork *dn = __getdn();
+ DataNetwork *dn = const_cast<ObjectImpl*>(this)->__getdn();
ObjectImpl *parent = getParent(NULLPARENTROLE);
if ( (dn && this == dn->GetRootObject().__impl()) || parent == &Udm::_null)
@@ -1900,7 +1900,7 @@
} else
ret << " of unknown type";
- DataNetwork *dn = __getdn();
+ DataNetwork *dn = const_cast<ObjectImpl*>(this)->__getdn();
if (dn) {
ret << ", in DN " << dn->uniqueId();
} else
More information about the Mobies-commit
mailing list