diff options
author | Dave Airlie <airlied@redhat.com> | 2018-06-29 03:47:26 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-07-04 07:42:22 +0100 |
commit | 8c51caab2404c5c9f5211936d27e9fe1c0af2e7d (patch) | |
tree | 9b79dca8ee8e62e4574333ba61b2dda801a89ace /src/intel/compiler/brw_fs.cpp | |
parent | 45f9d58668079803abe64d2f104468ee118f78ea (diff) |
r600/sb: cleanup if_conversion iterator to be legal C++
The current code causes:
/usr/include/c++/8/debug/safe_iterator.h:207:
Error: attempt to copy from a singular iterator.
This is due to the iterators getting invalidated, fix the
reverse iterator to use the return value from erase, and
cast it properly.
(used Mathias suggestion)
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
0 files changed, 0 insertions, 0 deletions