From: Gunter Winkler Date: Fri, 10 Aug 2001 15:51:00 +0000 (+0000) Subject: 2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de X-Git-Tag: prereleases/libstdc++-3.0.95~2756 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07fe2dec7ab1851349aca50c9935865af6e1f398;p=thirdparty%2Fgcc.git 2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de * include/bits/std_complex.h (complex::operator*=, complex::operator/=): Fix thinko. From-SVN: r44767 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2a4b148cb745..06af2dce8ecd 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::operator*=, + complex::operator/=): Fix thinko. + 2001-08-10 Gabriel Dos Reis * 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 e16a3bd2c800..be8d95313492 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& complex::operator*=(long double __r) { - __real__ _M_value *= __r; + _M_value *= __r; return *this; } inline complex& complex::operator/=(long double __r) { - __real__ _M_value /= __r; + _M_value /= __r; return *this; }