Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newer version gcc on osx #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 23, 2017

  1. Use newer version gcc

    * unordered_map is a form of map containter, use
    unordered_map::find(KeyType key) instead, which returns
    unordered_map::iterator, essentially pointer tostd::pair< KeyType,
    ValueType >.
    
    Or you can use unordered_map::operator[](KeyType key) to get access to
    element pointed by the key variable. Note that it will create new
    element in case it doesn't exist yet.
    
    See http://en.cppreference.com/w/cpp/container/unordered_map for more info.
    
    * Use newer GCC (at least 4.7) with -std=c++11 option, and you will get
    standardized std::unordered_map instead of tr1::unordered_map
    
    Fix adzerk#9
    nickleefly committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    d4af94c View commit details
    Browse the repository at this point in the history