mem-cache: Fix copy ellision on base compressor
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Mon, 31 Aug 2020 20:29:57 +0000 (22:29 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 1 Sep 2020 06:29:10 +0000 (06:29 +0000)
commit79e83c7d95985732979d48ace2f85caa33d7b5f5
treea2d206fae6736e76d1cf8192a1154afadfc539d3
parent73fcbe4d6d9a3866efc7c0fa37e09068cff7e0ba
mem-cache: Fix copy ellision on base compressor

Newer compiler versions have a problem with this move as
it prevents copy elision.

Change-Id: I802703df12e171d6a377b673d0ad7e202456b516
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33835
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/compressors/base.cc