Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 5:05:47 PM (14 years ago)
Author:
dafrick
Message:

Removing some TODO comments.
Better handling of duplicate name in Notificationlayer.lua.
Moving StringCompare object from NotificationListener to StringUtils.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/util/StringUtils.h

    r7401 r7413  
    4747{
    4848    extern _UtilExport std::string BLANKSTRING;
     49
     50    //!< Struct that can be used as a comparison object for strings in stl containers.
     51    _UtilExport struct StringCompare
     52    {
     53        bool operator() (const std::string& lhs, const std::string& rhs) const
     54            { return lhs.compare(rhs) < 0; }
     55    };
     56
    4957    _UtilExport std::string getUniqueNumberString();
    5058
Note: See TracChangeset for help on using the changeset viewer.