Ignore:
Timestamp:
May 1, 2019, 7:49:16 AM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
3908e5d
Parents:
98d4df9
Message:

change from map/set to unordered map/set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    r98d4df9 r1690778  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Sep  3 19:24:06 2017
    13 // Update Count     : 131
     12// Last Modified On : Wed May  1 07:46:49 2019
     13// Update Count     : 134
    1414//
    1515
     
    1919#include <iosfwd>                // for ostream
    2020#include <list>                  // for list
     21#include <unordered_map>         // for unordered_map
    2122#include <string>                // for string, operator+, allocator, to_string
    2223
     
    334335        virtual Declaration *acceptMutator( Mutator &m )  override { return m.mutate( this ); }
    335336  private:
    336         std::map< std::string, long long int > enumValues;
     337        std::unordered_map< std::string, long long int > enumValues;
    337338        virtual std::string typeString() const override;
    338339};
Note: See TracChangeset for help on using the changeset viewer.