compile fix for MSVC 2008 and std::upper_bound
authorThomas Hartmann <Thomas.Hartmann@digia.com>
Tue, 2 Oct 2012 14:50:01 +0000 (16:50 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 4 Oct 2012 09:58:48 +0000 (11:58 +0200)
commit1fb3d849e426fafcd5af30ce8ee6a00a10891746
tree524abcda43eb0e536153958baf01d2a20ab01271
parent642867d2ddae37bdf756e1466ba723b6b7f4e844
compile fix for MSVC 2008 and std::upper_bound

qUpperBound was replaced by std::upper_bound.

Unfortunately the STL of MSVC 2008 enforces
the definition of the operator in both
directions.

Change-Id: I3e0f775c23e43332d106e0847d3611e488da6c06
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
src/gui/text/qtextdocumentlayout.cpp
src/gui/text/qtextengine.cpp
src/widgets/widgets/qwidgettextcontrol.cpp