Ignore:
Timestamp:
Nov 14, 2007, 5:08:48 PM (14 years ago)
Author:
Peter
Message:

removing const when returning by value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/Target.cc

    r865 r990  
    177177  }
    178178
    179   const size_t Target::size(const std::string& label) const
     179  size_t Target::size(const std::string& label) const
    180180  {
    181181    std::map<std::string,size_t>::const_iterator i=class_map_.find(label);   
     
    191191  }
    192192
    193   const size_t Target::size(size_t cl) const
     193  size_t Target::size(size_t cl) const
    194194  {
    195195    return std::count(classes_.begin(),classes_.end(),cl);
Note: See TracChangeset for help on using the changeset viewer.