diff options
author | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 22:21:30 +0000 |
---|---|---|
committer | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 22:21:30 +0000 |
commit | 1731d2ee1d82c51f86078a5118948e66a857412d (patch) | |
tree | ab091e67e6b4c3b11666896df22575d378049360 /base/message_pump_win.cc | |
parent | 8fba5ee7c18595541d55d5af82c6670ce7ed6434 (diff) | |
download | chromium_src-1731d2ee1d82c51f86078a5118948e66a857412d.zip chromium_src-1731d2ee1d82c51f86078a5118948e66a857412d.tar.gz chromium_src-1731d2ee1d82c51f86078a5118948e66a857412d.tar.bz2 |
For TransportDIB::HandleAndSequenceNumber, make operator<
be antisymmetric.
The old implementation was flawed because both of the following
comparisons were true: "{0, 1} < {1, 0}" and "{1, 0} < {0, 1}"
On Windows, std::map<> doesn't like that, and complains -- rightly so.
Review URL: http://codereview.chromium.org/93151
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_win.cc')
0 files changed, 0 insertions, 0 deletions