Changeset 610 for trunk/VUT/GtpVisibilityPreprocessor/src/Pvs.h
- Timestamp:
- 02/09/06 12:14:11 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Pvs.h
r581 r610 59 59 void NormalizeMaximum(); 60 60 61 /** Merges pvs of a and pvs of binto this pvs.61 /** Merges pvs of a into this pvs. 62 62 */ 63 void Merge(const Pvs<T> &a , const Pvs<T> &b);63 void Merge(const Pvs<T> &a); 64 64 65 65 /** Difference of pvs to pvs b. … … 130 130 131 131 template <typename T> 132 void Pvs<T>::Merge(const Pvs<T> &a , const Pvs<T> &b)132 void Pvs<T>::Merge(const Pvs<T> &a) 133 133 { 134 134 std::map<T, PvsData<T>, LtSample<T> >::const_iterator it; 135 135 136 mEntries = a.mEntries; 137 138 for (it = b.mEntries.begin(); it != b.mEntries.end(); ++ it) 136 for (it = a.mEntries.begin(); it != a.mEntries.end(); ++ it) 139 137 { 140 138 PvsData<T> *data = Find((*it).first);
Note: See TracChangeset
for help on using the changeset viewer.