qt5base-lts/tests/auto/corelib
Olivier Goffart 50e2bc2aa0 Fix QDebug cumulating operator<< with many Q_ENUM
The problem is that the operator<< was taking a non-const reference to the QDebug
object. This causes a problem as all other operator<< return a temporary.
Since every other roperator<< takes the QDebug by value, we should also take it by value
in this case.

Move the operator<< in qdebug.h because i don't want to #include qdebug.h from qobject.h
And move the qt_QMetaEnum_debugOperator to be in the corresponding .cpp

Task-number: QTBUG-44462
Change-Id: Ia01629224c58930c2997e767efc43de90d6309e2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2015-02-17 06:17:59 +00:00
..
animation Update copyright headers 2015-02-11 06:49:51 +00:00
codecs Update copyright headers 2015-02-11 06:49:51 +00:00
global Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
io QDateTime: micro-optimize QDebug op<< 2015-02-15 19:38:59 +00:00
itemmodels Update copyright headers 2015-02-11 06:49:51 +00:00
json Update copyright headers 2015-02-11 06:49:51 +00:00
kernel Fix QDebug cumulating operator<< with many Q_ENUM 2015-02-17 06:17:59 +00:00
mimetypes Update copyright headers 2015-02-11 06:49:51 +00:00
plugin Update copyright headers 2015-02-11 06:49:51 +00:00
statemachine QtCore: assorted migrations to QString::asprintf 2015-02-12 19:40:04 +00:00
thread Update copyright headers 2015-02-11 06:49:51 +00:00
tools QtCore: assorted migrations to QString::asprintf 2015-02-12 19:40:04 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00