# HG changeset patch # User John W. Eaton # Date 1551483102 0 # Node ID 2703e1407887f352f296161ad76f72b6fe35304d # Parent be5b43255a383b0edd093d086d1de4223e68b008 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. diff -r be5b43255a38 -r 2703e1407887 libinterp/corefcn/stack-frame.h --- 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;