Ignore:
Timestamp:
Apr 23, 2012, 3:49:48 PM (7 years ago)
Author:
ksherdy
Message:

Revered TYPE and LGTH template parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/symbol_table/src/hash_table.hpp

    r2040 r2045  
    498498
    499499/* Length specific comparison */
    500 template<class T, uint32_t LGTH>
     500template<uint32_t LGTH, class TYPE>
    501501class identity_strategy_t: public compare_strategy {
    502502public:
    503503    static IDISA_ALWAYS_INLINE bool compare(uint8_t * x, uint8_t * y, const uint32_t lgth=0) {
    504         return overlap_compare<T,LGTH>(x,y);
     504        return overlap_compare<LGTH, TYPE>(x,y);
    505505    }
    506506};
Note: See TracChangeset for help on using the changeset viewer.