ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/FeepingCreaturism.cpp
(Generate patch)

Comparing FeepingCreaturism/FeepingCreaturism.cpp (file contents):
Revision 251 by Douglas Thrift, 2004-09-12T19:24:00-07:00 vs.
Revision 255 by Douglas Thrift, 2004-09-15T21:38:10-07:00

# Line 62 | Line 62 | bool FeepingCreaturism::CaseLess::operat
62          std::transform(one.begin(), one.end(), one_.begin(), ::tolower);
63          std::transform(two.begin(), two.end(), two_.begin(), ::tolower);
64  
65 +        if (one_ == two_) return one < two;
66 +
67          return one_ < two_;
68   }
69  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines