Mercurial > octave
diff libinterp/parse-tree/oct-lvalue.h @ 24991:831389905438 stable
omit argument name from default copy ctors and assignment operators
* thread-manager.h, fcn-info.h, graphics.in.h, load-path.h,
oct-stream.cc, pr-flt-fmt.h, symrec.h, octave.h, oct-lvalue.h,
child-list.h, pathsearch.h, url-transfer.h:
Use "(const foo&)" instead of "(const foo& arg)" for declaration of
default copy constructors and assignment operators.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 26 Mar 2018 13:10:42 -0400 |
parents | 194eb4bd202b |
children | 6652d3823428 |
line wrap: on
line diff
--- a/libinterp/parse-tree/oct-lvalue.h Sat Mar 24 18:17:31 2018 +0100 +++ b/libinterp/parse-tree/oct-lvalue.h Mon Mar 26 13:10:42 2018 -0400 @@ -46,9 +46,9 @@ m_type (), m_idx (), m_nel (1) { } - octave_lvalue (const octave_lvalue& vr) = default; + octave_lvalue (const octave_lvalue&) = default; - octave_lvalue& operator = (const octave_lvalue& vr) = default; + octave_lvalue& operator = (const octave_lvalue&) = default; ~octave_lvalue (void) = default;