Show
Ignore:
Timestamp:
02/27/08 09:30:29 (9 months ago)
Author:
cneumann
Message:

fixed: Overzealous use of RefPtr? replaced with InternalRefPtr?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Base/OSGDrawableStatsAttachment.cpp

    r1035 r1063  
    134134*/ 
    135135 
    136 DrawableStatsAttachmentRefPtr DrawableStatsAttachment::calcStatic( 
     136DrawableStatsAttachmentTransitPtr DrawableStatsAttachment::calcStatic( 
    137137    DrawablePtrArg pDrawable) 
    138138{ 
    139     DrawableStatsAttachmentRefPtr st = DrawableStatsAttachment::create(); 
     139    DrawableStatsAttachmentInternalRefPtr st = DrawableStatsAttachment::create(); 
    140140 
    141141    if(pDrawable != NullFC) 
    142142        pDrawable->fill(st);  
    143143 
    144     return st
     144    return DrawableStatsAttachmentTransitPtr(st)
    145145} 
    146146 
     
    151151    AttachmentContainerPtr obj) 
    152152{ 
    153     DrawableStatsAttachmentRefPtr st = DrawableStatsAttachment::create(); 
     153    DrawableStatsAttachmentInternalRefPtr st = DrawableStatsAttachment::create(); 
    154154 
    155155    st->attachTo(obj);