Mercurial > hg > octave-nkf
changeset 10537:fdf28dae0f37
remove old assign decls from Sparse.h
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 20 Apr 2010 09:05:16 +0200 |
parents | 74cb77f0a163 |
children | 26673015caec |
files | liboctave/ChangeLog liboctave/Sparse.h |
diffstat | 2 files changed, 4 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +2010-04-20 Jaroslav Hajek <highegg@gmail.com> + + * Sparse.h (::assign, ::assign1): Remove declarations. + 2010-04-19 Jaroslav Hajek <highegg@gmail.com> * Array.cc (Array<T>::cat): Fast return for single array case.
--- a/liboctave/Sparse.h +++ b/liboctave/Sparse.h @@ -583,18 +583,6 @@ bool indices_ok (void) const { return rep->indices_ok (); } }; -// NOTE: these functions should be friends of the Sparse<T> class and -// Sparse<T>::dimensions should be protected, not public, but we can't -// do that because of bugs in gcc prior to 3.3. - -template <class LT, class RT> -/* friend */ int -assign (Sparse<LT>& lhs, const Sparse<RT>& rhs); - -template <class LT, class RT> -/* friend */ int -assign1 (Sparse<LT>& lhs, const Sparse<RT>& rhs); - template<typename T> std::istream& read_sparse_matrix (std::istream& is, Sparse<T>& a,