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/OSGSInternalFCPointerField.inl

    r1036 r1041  
    304304SInternalFCPointerField<ObjectT, NamespaceI>::syncWith(Self &source) 
    305305{ 
    306     setValue(convertToCurrentAspect(source._fieldValue)); 
     306    ValueType newVal = convertToCurrentAspect(source._fieldValue); 
     307 
     308    incRefCount(newVal              ); 
     309    decRefCount(this->editRawValue()); 
     310     
     311    this->editRawValue() = newVal; 
    307312} 
    308313