Mercurial > hg > octave-lyh
changeset 9384:8bec23396924
hide copy constructors in unwind-prot.h
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 24 Jun 2009 08:07:43 +0200 |
parents | d57f0c56195f |
children | 5497b0795fb9 |
files | src/ChangeLog src/unwind-prot.h |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-06-24 Jaroslav Hajek <highegg@gmail.com> + + * unwind-prot.h (restore_var, restore_mem): Hide also copy + constructors. + 2009-06-23 Jaroslav Hajek <highegg@gmail.com> * quit.h (octave_quit_exception): Delete.
--- a/src/unwind-prot.h +++ b/src/unwind-prot.h @@ -61,6 +61,7 @@ private: // No copying! + restore_var (const restore_var&); void operator = (const restore_var&); T *rptr, rval; @@ -84,6 +85,7 @@ private: // No copying! + restore_mem (const restore_mem&); void operator = (const restore_mem&); void *rptr, *sptr;