Show
Ignore:
Timestamp:
12/12/07 18:00:42 (1 year ago)
Author:
cneumann
Message:

added: generic interface
changed: factory functions return RefPtr?

The unittests don't pass right now, because of the change
to the factory functions, which leads to containers
being immediately destroyed as they are not assigned to
a RefPtr?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGReferenceCountPointer.inl

    r1030 r1032  
    525525                                      RefCountPolicyT, 
    526526                                      BaseObjectT     >( 
    527         source.get(), OSG::detail::StaticCastTag()); 
     527        source, OSG::detail::StaticCastTag()); 
    528528} 
    529529 
     
    538538                                      RefCountPolicyT, 
    539539                                      BaseObjectT     >( 
    540         source.get(), OSG::detail::ConstCastTag()); 
     540        source, OSG::detail::ConstCastTag()); 
    541541} 
    542542 
     
    551551                                      RefCountPolicyT, 
    552552                                      BaseObjectT     >( 
    553         source.get(), OSG::detail::DynamicCastTag()); 
     553        source, OSG::detail::DynamicCastTag()); 
    554554} 
    555555