Skip to content

Commit

Permalink
Fix 'moving a local object' warning in GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Jan 22, 2025
1 parent e87bb4b commit 97a7a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adiar/internal/algorithms/quantify.h
Original file line number Diff line number Diff line change
Expand Up @@ -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); }
Expand Down

0 comments on commit 97a7a20

Please sign in to comment.