Workaround MSVC2008 build failure after switching to std::lower_bound
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Thu, 20 Sep 2012 16:32:37 +0000 (18:32 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Sep 2012 13:47:21 +0000 (15:47 +0200)
commit1c9b0eb64045d476f7856cce2dfc68860a855130
tree5999ca5968720927b9e0a3836b0605c6915ec340
parent9c4b7d5eb203a84ade2c00398a52b3724631927c
Workaround MSVC2008 build failure after switching to std::lower_bound

MSVC2008 tries to see if a container is fully ordered.

This causes a build failure when operator< is not defined
between the elements in the container (but is instead defined
between the element type and the item passed to std::lower_bound).

Change-Id: I093d6f67f64a247f0aae763acb35ee73614f4208
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/network/access/qnetworkaccessauthenticationmanager_p.h