[cgma-dev] r6059 - cgm/trunk/util
janehu at mcs.anl.gov
janehu at mcs.anl.gov
Fri Sep 6 10:28:04 CDT 2013
Author: janehu
Date: 2013-09-06 10:28:03 -0500 (Fri, 06 Sep 2013)
New Revision: 6059
Modified:
cgm/trunk/util/DLIList.cpp
Log:
Fixed last night's build failure and r6056 check-in mistakes.
Modified: cgm/trunk/util/DLIList.cpp
===================================================================
--- cgm/trunk/util/DLIList.cpp 2013-09-05 17:20:53 UTC (rev 6058)
+++ cgm/trunk/util/DLIList.cpp 2013-09-06 15:28:03 UTC (rev 6059)
@@ -181,12 +181,12 @@
break;
if ((*iter2 == *iter1) && // items are the same and ...
- (insert < listArray || // is the first item or ...
+ (last_insert < listArray || // is the first item or ...
*iter1 != *last_insert)) // is not the same as the previous item
*++last_insert = *iter1;
}
- itemCount = insert - listArray + 1;
+ itemCount = last_insert - listArray + 1;
reset();
}
More information about the cgma-dev
mailing list