Mercurial > hg > octave-lyh
diff liboctave/idx-vector.h @ 3504:5eef8a2294bd
[project @ 2000-02-01 10:06:51 by jwe]
author | jwe |
---|---|
date | Tue, 01 Feb 2000 10:07:26 +0000 |
parents | d14c483b3c12 |
children | e8627dc4bdf2 |
line wrap: on
line diff
--- a/liboctave/idx-vector.h +++ b/liboctave/idx-vector.h @@ -113,7 +113,7 @@ // i/o - ostream& print (ostream& os) const; + std::ostream& print (std::ostream& os) const; int *data; int len; @@ -252,9 +252,9 @@ int freeze (int z_len, const char *tag, int resize_ok = 0) { return rep->freeze (z_len, tag, resize_ok); } - ostream& print (ostream& os) const { return rep->print (os); } + std::ostream& print (std::ostream& os) const { return rep->print (os); } - friend ostream& operator << (ostream& os, const idx_vector& a) + friend std::ostream& operator << (std::ostream& os, const idx_vector& a) { return a.print (os); } void maybe_convert_one_zero_to_idx (int z_len)