Changeset 1133 for trunk/yat/utility


Ignore:
Timestamp:
Feb 23, 2008, 9:40:35 PM (14 years ago)
Author:
Peter
Message:

using SmartPtr? in KernelLookup? rather than doing the ref count myself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/SmartPtr.h

    r1125 r1133  
    2626
    2727#include "yat_assert.h"
     28
     29// debug
     30#include <iostream>
    2831
    2932namespace theplu {
     
    7073      if (owner)
    7174        ref_count_ = new u_int(1);
     75      else
     76        ref_count_ = NULL;
    7277    }
    7378
Note: See TracChangeset for help on using the changeset viewer.