qt5base-lts/tests/auto/corelib
João Abecasis 0d4834c171 Wrap calls to Sequence::push_back
In C++11 push_back is overloaded to support rvalue-references,

   void std::vector<T>::push_back(const T &);
   void std::vector<T>::push_back(T &&);

so attempting to get the address for push_back is ambiguous.

Instead of hardcoding the function signature, the better and more
general solution is to allow the compiler to do the required overload
resolution itself, also allowing for implicit conversions to take place.

Task-number: QTBUG-18996
Done-with: Liang Qi
Reviewed-by: Olivier Goffart
(cherry picked from commit ca34cc75294e0d2a8bc491a2c679fe8a69cd0408)

Change-Id: Id271118e489f888905e491dd4cfc3d2db7697552
Reviewed-on: http://codereview.qt-project.org/4642
Reviewed-by: Liang Qi <liang.qi@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-09-17 03:21:15 +02:00
..
animation Moving Tests to new Autotest Structure 2011-08-24 10:09:19 +02:00
codecs Moving relevant tests to corelib/codecs 2011-08-26 08:49:59 +02:00
concurrent Wrap calls to Sequence::push_back 2011-09-17 03:21:15 +02:00
global Merge branch 'master' into refactor 2011-09-12 07:49:03 +02:00
io Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
kernel Merge branch 'refactor' 2011-09-13 08:54:45 +02:00
plugin Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
statemachine Moving relevant tests to corelib/statemachine 2011-09-01 12:54:42 +02:00
thread Moving relevant tests to corelib/thread 2011-09-01 12:54:58 +02:00
tools Boost performance of QChar::isSpace 2011-09-15 20:39:28 +02:00
xml Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00
corelib.pro Moving relevant tests to corelib/xml 2011-09-01 13:08:32 +02:00