Ignore:
Timestamp:
Apr 9, 2008, 6:11:07 PM (13 years ago)
Author:
Peter
Message:

replaced u_int with unsigned int or size_t

File:
1 edited

Legend:

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

    r1260 r1271  
    2626
    2727#include "yat_assert.h"
    28 
    29 // debug
    30 #include <iostream>
    31 
    32 #include <sys/types.h>
    3328
    3429namespace theplu {
     
    7469    {
    7570      if (owner)
    76         ref_count_ = new u_int(1);
     71        ref_count_ = new unsigned int(1);
    7772      else
    7873        ref_count_ = NULL;
     
    134129  private:
    135130    T* pointee_;
    136     u_int* ref_count_;
     131    unsigned int* ref_count_;
    137132
    138133    void detach(void)
Note: See TracChangeset for help on using the changeset viewer.