# HG changeset patch # User Jaroslav Hajek # Date 1245823663 -7200 # Node ID 8bec23396924aaac06ff26cf9963efe0beec7bdc # Parent d57f0c56195f265b719d959deb8bb749077668d8 hide copy constructors in unwind-prot.h diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-06-24 Jaroslav Hajek + + * unwind-prot.h (restore_var, restore_mem): Hide also copy + constructors. + 2009-06-23 Jaroslav Hajek * quit.h (octave_quit_exception): Delete. diff --git a/src/unwind-prot.h b/src/unwind-prot.h --- 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;