Mercurial > octave
diff libinterp/corefcn/fcn-info.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/corefcn/fcn-info.h Sat Mar 24 18:17:31 2018 +0100 +++ b/libinterp/corefcn/fcn-info.h Mon Mar 26 13:10:42 2018 -0400 @@ -232,9 +232,9 @@ fcn_info (const std::string& nm = "") : m_rep (new fcn_info_rep (nm)) { } - fcn_info (const fcn_info& fi) = default; + fcn_info (const fcn_info&) = default; - fcn_info& operator = (const fcn_info& fi) = default; + fcn_info& operator = (const fcn_info&) = default; ~fcn_info (void) = default;