Mercurial > octave
diff liboctave/cmd-edit.cc @ 12153:e0e50f48df37
Explicitly disallow copying in some classes
author | Pascal Dupuis <Pascal.Dupuis@uclouvain.be> |
---|---|
date | Mon, 24 Jan 2011 14:57:07 -0500 |
parents | 12df7854fa7c |
children | e116dd862879 |
line wrap: on
line diff
--- a/liboctave/cmd-edit.cc Sun Jan 23 22:27:05 2011 -0800 +++ b/liboctave/cmd-edit.cc Mon Jan 24 14:57:07 2011 -0500 @@ -753,6 +753,12 @@ FILE *input_stream; FILE *output_stream; + + // No copying! + + default_command_editor (const default_command_editor&); + + default_command_editor& operator = (const default_command_editor&); }; std::string