Changeset 1041 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMWeakFCPointerField.inl
- Timestamp:
- 01/24/08 15:11:54 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMWeakFCPointerField.inl
r1032 r1041 943 943 944 944 StorageConstIter sI = source.getRawStorage ().begin(); 945 StorageConstIter sE = source.getRawStorage (). begin();945 StorageConstIter sE = source.getRawStorage ().end (); 946 946 947 947 StorageIter tI = this ->editRawStorage().begin(); … … 949 949 for(; sI != sE; ++sI, ++tI) 950 950 { 951 *tI = convertToCurrentAspect(*sI); 952 incRefCount(*tI); 951 ValueType newVal = convertToCurrentAspect(*sI); 952 953 incRefCount(newVal); 954 decRefCount(*tI ); 955 956 *tI = newVal; 953 957 } 954 958 }
