diff options
author | Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de> | 2001-08-10 15:51:00 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-08-10 15:51:00 +0000 |
commit | 07fe2dec7ab1851349aca50c9935865af6e1f398 (patch) | |
tree | 23de92af9cdc01d07259ea853f5a57a3d490bb3e | |
parent | aa2408185d5f199d04096862d061a0671d42b626 (diff) | |
download | gcc-07fe2dec7ab1851349aca50c9935865af6e1f398.zip gcc-07fe2dec7ab1851349aca50c9935865af6e1f398.tar.gz gcc-07fe2dec7ab1851349aca50c9935865af6e1f398.tar.bz2 |
2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
* include/bits/std_complex.h (complex<long double>::operator*=,
complex<long double>::operator/=): Fix thinko.
From-SVN: r44767
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/std_complex.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2a4b148..06af2dc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de + + * include/bits/std_complex.h (complex<long double>::operator*=, + complex<long double>::operator/=): Fix thinko. + 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com> * include/bits/std_limits.h: New file. diff --git a/libstdc++-v3/include/bits/std_complex.h b/libstdc++-v3/include/bits/std_complex.h index e16a3bd..be8d9531 100644 --- a/libstdc++-v3/include/bits/std_complex.h +++ b/libstdc++-v3/include/bits/std_complex.h @@ -930,14 +930,14 @@ namespace std inline complex<long double>& complex<long double>::operator*=(long double __r) { - __real__ _M_value *= __r; + _M_value *= __r; return *this; } inline complex<long double>& complex<long double>::operator/=(long double __r) { - __real__ _M_value /= __r; + _M_value /= __r; return *this; } |