Changeset 185 for trunk/gsdl


Ignore:
Timestamp:
1999-03-04T12:27:33+13:00 (25 years ago)
Author:
sjboddie
Message:

Improved efficiency slightly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/text_t.h

    r175 r185  
    175175struct eqtext_t
    176176{
    177   bool operator()(const text_t t1, const text_t t2) const
     177  bool operator()(const text_t &t1, const text_t &t2) const
    178178  { return t1 == t2; }
    179179};
     
    181181struct lttext_t
    182182{
    183   bool operator()(const text_t t1, const text_t t2) const
     183  bool operator()(const text_t &t1, const text_t &t2) const
    184184  { return t1 < t2; }
    185185};
Note: See TracChangeset for help on using the changeset viewer.