Compiler output
prog.cpp: In function 'void ProcessInfo(std::map<std::basic_string<char>, TeamInfo>&)':
prog.cpp:77:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from /usr/include/c++/4.7/algorithm:63:0,
from prog.cpp:5:
/usr/include/c++/4.7/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TeamInfo*, std::vector<TeamInfo> >; _Tp = TeamInfo; _Compare = bool (*)(TeamInfo&, TeamInfo&)]':
/usr/include/c++/4.7/bits/stl_algo.h:2321:78: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TeamInfo*, std::vector<TeamInfo> >; _Compare = bool (*)(TeamInfo&, TeamInfo&)]'
/usr/include/c++/4.7/bits/stl_algo.h:2362:62: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<TeamInfo*, std::vector<TeamInfo> >; _Size = long int; _Compare = bool (*)(TeamInfo&, TeamInfo&)]'
/usr/include/c++/4.7/bits/stl_algo.h:5514:4: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<TeamInfo*, std::vector<TeamInfo> >; _Compare = bool (*)(TeamInfo&, TeamInfo&)]'
prog.cpp:76:46: required from here
/usr/include/c++/4.7/bits/stl_algo.h:2289:4: error: invalid initialization of reference of type 'TeamInfo&' from expression of type 'const TeamInfo'
/usr/include/c++/4.7/bits/stl_algo.h:2292:4: error: invalid initialization of reference of type 'TeamInfo&' from expression of type 'const TeamInfo'