diff libinterp/corefcn/load-path.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/load-path.h	Sat Mar 24 18:17:31 2018 +0100
+++ b/libinterp/corefcn/load-path.h	Mon Mar 26 13:10:42 2018 -0400
@@ -259,11 +259,11 @@
         initialize ();
       }
 
-      dir_info (const dir_info& di) = default;
+      dir_info (const dir_info&) = default;
 
       ~dir_info (void) = default;
 
-      dir_info& operator = (const dir_info& di) = default;
+      dir_info& operator = (const dir_info&) = default;
 
       void update (void);