Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/ErasableScopedMap.h

    r7f1be01 re9b5043  
    5757        /// Starts a new scope
    5858        void beginScope() {
    59                 scopes.emplace_back();
     59                Scope scope;
     60                scopes.push_back(scope);
    6061        }
    6162
     
    144145                public std::iterator< std::bidirectional_iterator_tag, value_type > {
    145146        friend class ErasableScopedMap;
    146         typedef typename Scope::iterator wrapped_iterator;
    147         typedef typename ScopeList::size_type size_type;
     147        typedef typename std::map< Key, Value >::iterator wrapped_iterator;
     148        typedef typename std::vector< std::map< Key, Value > > scope_list;
     149        typedef typename scope_list::size_type size_type;
    148150
    149151        /// Checks if this iterator points to a valid item
Note: See TracChangeset for help on using the changeset viewer.