Mercurial > jwe > octave
changeset 26815:2703e1407887
fix declarations of stack frame copy ctors and assignment operators
* stack-frame.h (base_value_stack_frame, scope_stack_frame):
Fix argument types for copy constructors and assignment operators to
match the type of the class.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 01 Mar 2019 23:31:42 +0000 |
parents | be5b43255a38 |
children | 4eed5ba2586a |
files | libinterp/corefcn/stack-frame.h |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/stack-frame.h Wed Feb 27 11:49:36 2019 -0800 +++ b/libinterp/corefcn/stack-frame.h Fri Mar 01 23:31:42 2019 +0000 @@ -791,9 +791,10 @@ m_auto_vars (NUM_AUTO_VARS, octave_value ()) { } - base_value_stack_frame (const stack_frame& elt) = delete; + base_value_stack_frame (const base_value_stack_frame& elt) = delete; - base_value_stack_frame& operator = (const stack_frame& elt) = delete; + base_value_stack_frame& + operator = (const base_value_stack_frame& elt) = delete; ~base_value_stack_frame (void) = default; @@ -889,7 +890,8 @@ user_fcn_stack_frame (const user_fcn_stack_frame& elt) = delete; - user_fcn_stack_frame& operator = (const user_fcn_stack_frame& elt) = delete; + user_fcn_stack_frame& + operator = (const user_fcn_stack_frame& elt) = delete; ~user_fcn_stack_frame (void) = default; @@ -961,9 +963,9 @@ m_scope (scope) { } - scope_stack_frame (const stack_frame& elt) = delete; + scope_stack_frame (const scope_stack_frame& elt) = delete; - scope_stack_frame& operator = (const stack_frame& elt) = delete; + scope_stack_frame& operator = (const scope_stack_frame& elt) = delete; ~scope_stack_frame (void) = default;