changeset 5617:e92411b7eb21

[project @ 2006-02-13 17:21:31 by jwe]
author jwe
date Mon, 13 Feb 2006 17:24:05 +0000
parents 44c592934077
children 36074b79a73b
files liboctave/ChangeLog liboctave/kpse.cc
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Fri Feb 10 22:42:38 2006 +0000
+++ b/liboctave/ChangeLog	Mon Feb 13 17:24:05 2006 +0000
@@ -1,3 +1,9 @@
+2006-02-13  John W. Eaton  <jwe@octave.org>
+
+	* kpse.cc (kpse_path_iterator::operator =): Declare as private
+	function but don't define to prevent attempts to use assignment
+	operator.
+
 2006-02-10  John W. Eaton  <jwe@octave.org>
 
 	* mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative
--- a/liboctave/kpse.cc	Fri Feb 10 22:42:38 2006 +0000
+++ b/liboctave/kpse.cc	Mon Feb 13 17:24:05 2006 +0000
@@ -473,6 +473,9 @@
       else
 	set_end ();
     }
+
+  // No assignment.
+  kpse_path_iterator& operator = (const kpse_path_iterator&);
 };
 
 /* Here's the simple one, when a program just wants a value.  */