Changeset 1041 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMInternalFCPointerField.inl
- Timestamp:
- 01/24/08 15:11:54 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMInternalFCPointerField.inl
r1032 r1041 958 958 959 959 StorageConstIter sI = source.getRawStorage ().begin(); 960 StorageConstIter sE = source.getRawStorage (). begin();960 StorageConstIter sE = source.getRawStorage ().end (); 961 961 962 962 StorageIter tI = this ->editRawStorage().begin(); … … 964 964 for(; sI != sE; ++sI, ++tI) 965 965 { 966 *tI = convertToCurrentAspect(*sI); 967 incRefCount(*tI); 966 ValueType newVal = convertToCurrentAspect(*sI); 967 968 incRefCount(newVal); 969 decRefCount(*tI ); 970 971 *tI = newVal; 968 972 } 969 973 }
