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/classifier/Kernel.cc

    r1168 r1271  
    4242  {
    4343    if (own)
    44       ref_count_ = new u_int(1);
     44      ref_count_ = new unsigned int(1);
    4545    else
    4646      ref_count_ = NULL;
     
    5353  {
    5454    if (own){
    55       ref_count_w_ = new u_int(1);
     55      ref_count_w_ = new unsigned int(1);
    5656    }
    5757    else {
     
    6868    if (other.weighted()){
    6969      mlw_ = new MatrixLookupWeighted(*other.mlw_, utility::Index(index),true);
    70       ref_count_w_ = new u_int(1);
     70      ref_count_w_ = new unsigned int(1);
    7171      ml_=NULL;
    7272      ref_count_ = NULL;
     
    7474    else{
    7575      ml_ = new MatrixLookup(*other.ml_, utility::Index(index),true);
    76       ref_count_ = new u_int(1);
     76      ref_count_ = new unsigned int(1);
    7777      mlw_=NULL;
    7878      ref_count_w_ = NULL;
Note: See TracChangeset for help on using the changeset viewer.