cmmanager/cmmgr/cmmserver/src/cmmconnmethodinstance.cpp
changeset 23 7ec726f93df1
parent 20 9c97ad6591ae
child 27 489cf6208544
equal deleted inserted replaced
20:9c97ad6591ae 23:7ec726f93df1
    42 
    42 
    43     CCmmConnMethodInstance* self = CCmmConnMethodInstance::NewLC( aCmmSession, aCache );
    43     CCmmConnMethodInstance* self = CCmmConnMethodInstance::NewLC( aCmmSession, aCache );
    44     CleanupStack::Pop( self );
    44     CleanupStack::Pop( self );
    45 
    45 
    46     OstTraceFunctionExit0( CCMMCONNMETHODINSTANCE_NEWL_EXIT );
    46     OstTraceFunctionExit0( CCMMCONNMETHODINSTANCE_NEWL_EXIT );
    47 
       
    48     return self;
    47     return self;
    49     }
    48     }
    50 
    49 
    51 // ---------------------------------------------------------------------------
    50 // ---------------------------------------------------------------------------
    52 // Two phased construction.
    51 // Two phased construction.
    59     CCmmConnMethodInstance* self = new( ELeave ) CCmmConnMethodInstance( aCmmSession, aCache );
    58     CCmmConnMethodInstance* self = new( ELeave ) CCmmConnMethodInstance( aCmmSession, aCache );
    60     CleanupClosePushL( *self );
    59     CleanupClosePushL( *self );
    61     self->ConstructL();
    60     self->ConstructL();
    62 
    61 
    63     OstTraceFunctionExit0( CCMMCONNMETHODINSTANCE_NEWLC_EXIT );
    62     OstTraceFunctionExit0( CCMMCONNMETHODINSTANCE_NEWLC_EXIT );
    64 
       
    65     return self;
    63     return self;
    66     }
    64     }
    67 
    65 
    68 // ---------------------------------------------------------------------------
    66 // ---------------------------------------------------------------------------
    69 // Destructor.
    67 // Destructor.