From 97a7a201055ef6271e93db062c339565db3d2c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffan=20S=C3=B8lvsten?= Date: Tue, 21 Jan 2025 21:08:04 +0100 Subject: [PATCH] Fix 'moving a local object' warning in GCC --- src/adiar/internal/algorithms/quantify.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adiar/internal/algorithms/quantify.h b/src/adiar/internal/algorithms/quantify.h index ecd0bc823..a7d478cb7 100644 --- a/src/adiar/internal/algorithms/quantify.h +++ b/src/adiar/internal/algorithms/quantify.h @@ -1801,7 +1801,7 @@ namespace adiar::internal // HACK: Undo the += 1 in the nested call stats_quantify.runs -= 1u; #endif - return std::move(out); + return out; } else { // !Policy::quantify_onset // TODO: only designed for 'OR' at this point in time if (!on_level) { return typename Policy::dd_type(dd->number_of_terminals[true] > 0); }