Show
Ignore:
Timestamp:
01/24/08 15:11:54 (1 year ago)
Author:
cneumann
Message:

fixed: aspect sync for child/parent fields

missing editSField/editMField calls

added: simple test program for MT

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMWeakFCPointerField.inl

    r1032 r1041  
    943943         
    944944        StorageConstIter sI = source.getRawStorage ().begin(); 
    945         StorageConstIter sE = source.getRawStorage ().begin(); 
     945        StorageConstIter sE = source.getRawStorage ().end  (); 
    946946         
    947947        StorageIter      tI = this ->editRawStorage().begin(); 
     
    949949        for(; sI != sE; ++sI, ++tI) 
    950950        { 
    951             *tI = convertToCurrentAspect(*sI); 
    952             incRefCount(*tI); 
     951            ValueType newVal = convertToCurrentAspect(*sI); 
     952         
     953            incRefCount(newVal); 
     954            decRefCount(*tI   ); 
     955             
     956            *tI = newVal; 
    953957        } 
    954958    }