# HG changeset patch # User Michael Goffioul # Date 1319111666 -3600 # Node ID d13b6086aea9cc0f093e4f8fac3d2159cf5bb3fe # Parent 47f803279384fe6a52600fb2b8f361e9421abd81 Make std::auto_ptr friend of idx_vector to allow access to private class idx_vector_rep. * idx-vector.h (class idx_vector): Add friend std::auto_ptr. diff -r 47f803279384 -r d13b6086aea9 liboctave/idx-vector.h --- a/liboctave/idx-vector.h Thu Oct 20 12:54:10 2011 +0100 +++ b/liboctave/idx-vector.h Thu Oct 20 12:54:26 2011 +0100 @@ -63,6 +63,8 @@ class_mask }; + template friend class std::auto_ptr; + private: class OCTAVE_API idx_base_rep