Ignore:
Timestamp:
Jul 31, 2020, 11:06:44 AM (2 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
95789be
Parents:
0c760db
Message:

I was given a trick with the indexer that fixes some scoping issues with virtual casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/ScopedMap.h

    r0c760db r6dba8755  
    9393
    9494                reference operator* () { return *it; }
    95                 pointer operator-> () { return it.operator->(); }
     95                pointer operator-> () const { return it.operator->(); }
    9696
    9797                iterator& operator++ () {
Note: See TracChangeset for help on using the changeset viewer.