diff --git a/src/engine/function.cpp b/src/engine/function.cpp index ad73c135e..16a376cda 100644 --- a/src/engine/function.cpp +++ b/src/engine/function.cpp @@ -327,7 +327,7 @@ struct _stack // Move "v" to a new slot in ther stack. Returns a reference to the new item. template - remove_cref_t & push( T&& v ); + remove_cref_t & push( T v ); // Copy "v" into "n" new items at the top of the stack. Returns a pointer // to the first, i.e. top most, new item. @@ -439,7 +439,7 @@ void _stack::cleanup_item(_stack * s, int32_t n, LIST**) } template -remove_cref_t & _stack::push( T&& v ) +remove_cref_t & _stack::push( T v ) { using U = remove_cref_t; check_alignment();