Ticket #8969: ps2-hashmap.patch

File ps2-hashmap.patch, 671 bytes (added by sunmax, 16 years ago)

ps2-hashmap.patch

  • common/hashmap.h

    diff -ur release-0-13-0/common/hashmap.h release-0-13-0-ps2/common/hashmap.h
    old new  
    262262 * Base constructor, creates an empty hashmap.
    263263 */
    264264template<class Key, class Val, class HashFunc, class EqualFunc>
    265 HashMap<Key, Val, HashFunc, EqualFunc>::HashMap() :
    266    _defaultVal() {
     265HashMap<Key, Val, HashFunc, EqualFunc>::HashMap()
     266#ifndef __PLAYSTATION2__
     267   : _defaultVal() {
     268#else
     269{
     270#endif
    267271   _mask = HASHMAP_MIN_CAPACITY - 1;
    268272   _storage = new Node *[HASHMAP_MIN_CAPACITY];
    269273   assert(_storage != NULL);