diff options
author | Bastian Bloessl <mail@bastibl.net> | 2019-08-27 18:23:40 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-09-05 13:14:21 +0200 |
commit | 747196f3ba052c35eefd8d2407621eeb7f528f3f (patch) | |
tree | 4c6a879bb49ce5efbf2ab28fc8a3c141470d3e5a /gr-qtgui/lib/plot_waterfall.cc | |
parent | b151c0282cd948f37447f967dad61858606da641 (diff) |
qtgui: use std::move for return values
Diffstat (limited to 'gr-qtgui/lib/plot_waterfall.cc')
-rw-r--r-- | gr-qtgui/lib/plot_waterfall.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/plot_waterfall.cc b/gr-qtgui/lib/plot_waterfall.cc index eaee256289..e39b8345c6 100644 --- a/gr-qtgui/lib/plot_waterfall.cc +++ b/gr-qtgui/lib/plot_waterfall.cc @@ -235,7 +235,7 @@ QImage PlotWaterfall::renderImage(const QwtScaleMap& xMap, const QwtInterval intensityRange = d_data->data->interval(Qt::ZAxis); #endif if (!intensityRange.isValid()) - return image; + return std::move(image); d_data->data->initRaster(area, rect.size()); @@ -277,7 +277,7 @@ QImage PlotWaterfall::renderImage(const QwtScaleMap& xMap, image = image.mirrored(hInvert, vInvert); } - return image; + return std::move(image); } /*! |