Show
Ignore:
Timestamp:
01/24/08 15:11:54 (10 months 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/OSGSChildFCPointerField.inl

    r1037 r1041  
    343343SChildFCPointerField<ObjectT, NamespaceI>::syncWith(Self &source) 
    344344{ 
    345     setValue(convertToCurrentAspect(source._fieldValue)); 
     345    ValueType newVal = convertToCurrentAspect(source._fieldValue); 
     346 
     347    incRefCount(newVal              ); 
     348    decRefCount(this->editRawValue()); 
     349     
     350    this->editRawValue() = newVal; 
    346351} 
    347352