Changeset 2383


Ignore:
Timestamp:
Feb 9, 2013, 12:17:27 PM (6 years ago)
Author:
sam
Message:

base: crash with an assert error if trying to access a read-only map
with a nonexistent key.

File:
1 edited

Legend:

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

    r2261 r2383  
    3636                    return m_array[i].m3;
    3737        /* XXX: this in an error! */
     38        ASSERT(0, "trying to read a non-existent key in map");
    3839        return V();
    3940    }
Note: See TracChangeset for help on using the changeset viewer.