fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
authorBenjamin Kosnik <bkoz@redhat.com>
Wed, 13 Jun 2001 01:50:27 +0000 (01:50 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 13 Jun 2001 01:50:27 +0000 (01:50 +0000)
commit9aaa9ee0262ab067d2a1c0ccb1726564df328cce
treedbe54162ee04765c3802d1e2d54c98c8bdbc168a
parent7f3e3e0a228fc372a618017e23a2d25e1eb87b30
fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.

2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/fpos.h (fpos::operator-): Don't return reference,
return original, non-modified version.
(fpos::operator+): Same.
* testsuite/27_io/fpos.cc: Add test.

[[Split portion of a mixed commit.]]

From-SVN: r43290.2
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/fpos.cc