# HG changeset patch # User Jaroslav Hajek # Date 1271747116 -7200 # Node ID fdf28dae0f3702934fc4a83b969fd64584761974 # Parent 74cb77f0a163f6d294b2a09069954b67ec25dd35 remove old assign decls from Sparse.h diff -r 74cb77f0a163 -r fdf28dae0f37 liboctave/ChangeLog --- a/liboctave/ChangeLog Tue Apr 20 09:03:26 2010 +0200 +++ b/liboctave/ChangeLog Tue Apr 20 09:05:16 2010 +0200 @@ -1,3 +1,7 @@ +2010-04-20 Jaroslav Hajek + + * Sparse.h (::assign, ::assign1): Remove declarations. + 2010-04-19 Jaroslav Hajek * Array.cc (Array::cat): Fast return for single array case. diff -r 74cb77f0a163 -r fdf28dae0f37 liboctave/Sparse.h --- a/liboctave/Sparse.h Tue Apr 20 09:03:26 2010 +0200 +++ b/liboctave/Sparse.h Tue Apr 20 09:05:16 2010 +0200 @@ -583,18 +583,6 @@ bool indices_ok (void) const { return rep->indices_ok (); } }; -// NOTE: these functions should be friends of the Sparse class and -// Sparse::dimensions should be protected, not public, but we can't -// do that because of bugs in gcc prior to 3.3. - -template -/* friend */ int -assign (Sparse& lhs, const Sparse& rhs); - -template -/* friend */ int -assign1 (Sparse& lhs, const Sparse& rhs); - template std::istream& read_sparse_matrix (std::istream& is, Sparse& a,