diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2009-11-26 13:59:09 (GMT) |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2009-11-26 13:59:09 (GMT) |
commit | 0cf58948ac9bb9c35835e18a00737c362b08f3c7 (patch) | |
tree | bbb0b76f71df2d0320d1b8559c7d8537a54a4c5f /tests/auto | |
parent | 2f00c76081f261e6f357c279206a6a18fdadc472 (diff) | |
download | Qt-0cf58948ac9bb9c35835e18a00737c362b08f3c7.zip Qt-0cf58948ac9bb9c35835e18a00737c362b08f3c7.tar.gz Qt-0cf58948ac9bb9c35835e18a00737c362b08f3c7.tar.bz2 |
Avoid using return value from a temporary object
The temporary object goes away before the next line is executed, so the
pointer to the const data is invalid. Just put it all on one line, and
we're ok.
Reviewed-by: Brad
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions