diff options
author | Kai Koehne <kai.koehne@digia.com> | 2014-06-20 12:30:58 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-06-25 17:45:54 +0200 |
commit | ef077750ce47212570c9bc1ce6367309678440f6 (patch) | |
tree | 6d29956fe125f8bcd97d6ed4ec57f59ba73f6422 /src/opengl | |
parent | b7f8e7664a38e401c6af6f2447cd565422109f7a (diff) |
QDebug: Remove handling of FORCE_UREF define
This is the only place in Qt source code we use FORCE_UREF, and can
be traced back to the very first qt.git commit. In any case, it's
broken: It returns a reference to a local variable, since the debug
argument is _not_ a reference.
Using a reference both for the argument and the return value would
be actually the canonical solution, but that breaks with
QDebug << operator(QDebug, const QVariant &),
exported in QtCore. The C++ lookup rules apparently prefer this
overload then to be used for outputting containers ...
Change-Id: Iaf5e5dd89d4f3ebe6454eba219046b4f25b0d717
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions