Mercurial > octave
changeset 24113:e15ad9af158f
maint: rename function argument to avoid shadowing class member
* symtab.h (symbol_table::symbol_record::symbol_record_rep::bind_fwd_rep):
Rename function argument to avoid shadowing class member name. Silences clang
compiler warning -Wshadow.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 28 Sep 2017 15:44:43 -0700 |
parents | 2cc851e8e03f |
children | 90932304969a |
files | libinterp/corefcn/symtab.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/symtab.h Thu Sep 28 15:59:08 2017 -0500 +++ b/libinterp/corefcn/symtab.h Thu Sep 28 15:44:43 2017 -0700 @@ -578,7 +578,7 @@ // We don't forward more than once, so no need to forward the // next two. - void bind_fwd_rep (symbol_record_rep *rep) { m_fwd_rep = rep; } + void bind_fwd_rep (symbol_record_rep *fwd_rep) { m_fwd_rep = fwd_rep; } void unbind_fwd_rep (void) { m_fwd_rep = nullptr; }