diff libgui/src/variable-editor.h @ 24621:2bb3f3de0b4e

more style fixes for variable editor * variable-editor-model.cc, variable-editor.cc: Various style fixes. * variable-editor.h, variable-editor.cc, variable-editor-model.h, variable-editor-model.cc: Match ordering of functions in header and source files. Use C++11 syntax to disable operator= and copy constructor.
author John W. Eaton <jwe@octave.org>
date Fri, 19 Jan 2018 06:05:18 -0500
parents 8a4aedbb3e5a
children 428780eec08a
line wrap: on
line diff
--- a/libgui/src/variable-editor.h	Fri Jan 19 10:17:36 2018 -0800
+++ b/libgui/src/variable-editor.h	Fri Jan 19 06:05:18 2018 -0500
@@ -46,6 +46,12 @@
 
   ~variable_editor (void);
 
+  // No copying!
+
+  variable_editor (const variable_editor&) = delete;
+
+  variable_editor& operator = (const variable_editor&) = delete;
+
   void edit_variable (const QString& name);
 
   // Clear all the models' data cache.