Changeset 1942 for GTP/trunk/Lib/Vis/Preprocessing/src/Pvs.h
- Timestamp:
- 01/05/07 16:29:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Pvs.h
r1925 r1942 615 615 // sample not found yet => search further in the unsorted part 616 616 if (!found && checkDirty) { 617 vector<PvsEntry<T, S> >::const_iterator dit, dit_end = mEntries.end(); 618 619 for (dit = sorted_end; (dit != dit_end) && ((*dit).mObject != sample); ++ dit) ; 620 621 if (dit != dit_end) 617 618 for (it = sorted_end; (it != mEntries.end()) && ((*it).mObject != sample); ++ it) ; 619 620 if (it != mEntries.end()) 622 621 found = true; 623 622 } … … 653 652 } 654 653 else 655 {654 { 656 655 PvsEntry<T, S> entry(sample, pdf); 657 656 mEntries.insert(it, entry); 658 657 ++ mLastSorted; 659 658 return pdf; 660 }659 } 661 660 } 662 661 … … 706 705 707 706 vector<PvsEntry<T, S> >::iterator it; 708 constbool entryFound = Find(sample, it);707 bool entryFound = Find(sample, it); 709 708 710 709 if (entryFound) {
Note: See TracChangeset
for help on using the changeset viewer.