Changeset 674

Show
Ignore:
Timestamp:
10/20/09 13:38:09 (15 years ago)
Author:
smidl
Message:

forgotten change of to_string() const

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/user_info_test.cpp

    r544 r674  
    3333        } 
    3434 
    35         string to_string() { 
     35string to_string()  const { 
    3636                return name; 
    3737        } 
     
    6161        } 
    6262 
    63         string to_string() { 
     63string to_string()  const { 
    6464                stringstream stream; 
    6565                stream << number; 
     
    128128        } 
    129129 
    130         string to_string() { 
     130string to_string()  const { 
    131131                stringstream stream; 
    132132                stream << "A car made in " << year << " by " << manufacturer << ", having " << kilometers << " kilometers on the clock."; 
     
    178178        } 
    179179 
    180         string to_string() { 
     180string to_string()  const { 
    181181                stringstream stream; 
    182182                stream << "a bike made in " << year << " by " << manufacturer;