Ignore:
Timestamp:
Jul 20, 2013, 4:18:23 PM (8 years ago)
Author:
lolbot
Message:

fixed 7 files out of 2745:

  • removed 0 CR characters
  • removed 21 trailing whitespaces
  • replaced 42 tabs with spaces
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/base/map.h

    r2776 r2806  
    2525{
    2626public:
    27         /* If E is different from K, Hash<K> must implement operator()(E const&)
     27    /* If E is different from K, Hash<K> must implement operator()(E const&)
    2828     * and an equality operator between K and E must exist in order to use this method.
    2929      */
     
    3131    /* I choose to make this inline because passing the key by reference
    3232     * is usually suboptimal. */
    33         template <typename E>
     33    template <typename E>
    3434    inline V const& operator[] (E const &key) const
    3535    {
     
    4545    }
    4646
    47         template <typename E>
     47    template <typename E>
    4848    inline V & operator[] (E const &key)
    4949    {
     
    5959    }
    6060
    61         template <typename E>
     61    template <typename E>
    6262    inline void Remove(E const &key)
    6363    {
     
    7272    }
    7373
    74         template <typename E>
     74    template <typename E>
    7575    inline bool HasKey(E const &key)
    7676    {
     
    8383    }
    8484
    85         template <typename E>
     85    template <typename E>
    8686    inline bool TryGetValue(E const &key, V& value)
    8787    {
Note: See TracChangeset for help on using the changeset viewer.