[Mobies-commit] [commit] r4402 - UDM/trunk/include
ksmyth at svn.isis.vanderbilt.edu
ksmyth at svn.isis.vanderbilt.edu
Mon Nov 20 11:12:28 CST 2017
Author: ksmyth
Date: Mon Nov 20 11:12:28 2017
New Revision: 4402
Log:
Fix ArrAttrItem::operator==
Modified:
UDM/trunk/include/UdmBase.h
Modified: UDM/trunk/include/UdmBase.h
==============================================================================
--- UDM/trunk/include/UdmBase.h Mon Nov 20 11:12:26 2017 (r4401)
+++ UDM/trunk/include/UdmBase.h Mon Nov 20 11:12:28 2017 (r4402)
@@ -851,7 +851,7 @@
virtual bool operator==(const ArrAttrItem<CLASS>& a)
{
- if (array != a.array)
+ if (&array != &a.array)
throw udm_exception("Comparision of two unrelated iterators!");
return (index == a.index);
@@ -940,7 +940,7 @@
virtual bool operator==(const ArrAttrItem<bool>& a)
{
- if (array != a.array)
+ if (&array != &a.array)
throw udm_exception("Comparision of two unrelated iterators!");
return (index == a.index);
More information about the Mobies-commit
mailing list