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/Base/OSGFieldContainer.inl

    r1039 r1041  
    603603        // This has to work on incomplete types, so there is careful casting 
    604604        // to and from FieldContainerPtr required. 
    605         // reinterpret_cast should not be used here as it is implementation 
    606         // defined and the cast through void * is more portable and safe, 
    607         // although hideous ;(  -- cneumann 
    608         result = static_cast<ContainerPtr>( 
    609             static_cast<void *>(             
    610                 static_cast<FieldContainerPtr>( 
    611                     static_cast<void *>(pFC))->getAspectPtr( 
    612                         Thread::getCurrentAspect()))); 
     605        result = 
     606            reinterpret_cast<ContainerPtr>( 
     607                reinterpret_cast<FieldContainerPtr>( 
     608                    pFC)->getAspectPtr(Thread::getCurrentAspect())); 
    613609    } 
    614610