Ignore:
Timestamp:
Jul 4, 2023, 2:54:31 PM (14 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
4c2e561
Parents:
b2ecd48
Message:

Combined some fixes from the variaus scoped containers. Reducing redeclarations, internal type names now use one consistent naming scheme (it is different from the public naming convention), a whitespace fix and shrinking a few functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/ScopedMap.h

    rb2ecd48 r7f1be01  
    199199        friend class ScopedMap;
    200200        friend class const_iterator;
    201         typedef typename ScopedMap::MapType::iterator wrapped_iterator;
    202         typedef typename ScopedMap::ScopeList scope_list;
    203         typedef typename scope_list::size_type size_type;
     201        typedef typename MapType::iterator wrapped_iterator;
     202        typedef typename ScopeList::size_type size_type;
    204203
    205204        /// Checks if this iterator points to a valid item
     
    220219        }
    221220
    222         iterator(scope_list & _scopes, const wrapped_iterator & _it, size_type inLevel)
     221        iterator(ScopeList & _scopes, const wrapped_iterator & _it, size_type inLevel)
    223222                : scopes(&_scopes), it(_it), level(inLevel) {}
    224223public:
     
    266265
    267266private:
    268         scope_list *scopes;
     267        ScopeList *scopes;
    269268        wrapped_iterator it;
    270269        size_type level;
Note: See TracChangeset for help on using the changeset viewer.