]> git.donarmstrong.com Git - lilypond.git/commit
Use iterator for STL std::map element access.
authorPatrick McCarty <pnorcks@gmail.com>
Sun, 28 Mar 2010 22:55:51 +0000 (15:55 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Tue, 30 Mar 2010 21:37:35 +0000 (14:37 -0700)
commit56cf748c20df5eeadb90b3ead5e965390126dc0f
treeb7046e3474db6954965d6c35f98994faa91adf82
parent0f55a6bfb648fb279a4e7d75febe7fa01736bafb
Use iterator for STL std::map element access.

The at() function for std::map was added for libstdc++ release 4.1, and
it is not part of the official STL.

Also some developers are still using libstdc++ 4.0, so using at() will
not compile.

Instead, use an iterator for std::map element access, which is the
standard (albeit annoying) practice.
lily/open-type-font.cc