Ignore:
Timestamp:
Sep 30, 2007, 3:38:30 AM (16 years ago)
Author:
Peter
Message:

fixes #239

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/stl_utility.cc

    r865 r919  
    3333namespace utility {
    3434
    35   void to_lower(std::string& s)
     35  std::string& to_lower(std::string& s)
    3636  {
    3737    transform(s.begin(),s.end(), s.begin(), tolower);
     38    return s;
    3839  }
    3940
    4041
    41   void to_upper(std::string& s)
     42  std::string& to_upper(std::string& s)
    4243  {
    4344    transform(s.begin(),s.end(), s.begin(), toupper);
     45    return s;
    4446  }
    4547
Note: See TracChangeset for help on using the changeset viewer.