From d85b1be3383cd6d87e0a83eb296550e318e3f0ac Mon Sep 17 00:00:00 2001 From: gdr Date: Fri, 10 Aug 2001 15:51:00 +0000 Subject: [PATCH] 2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de * include/bits/std_complex.h (complex::operator*=, complex::operator/=): Fix thinko. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44767 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 5 +++++ 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 2a4b148cb74..06af2dce8ec 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 e16a3bd2c80..be8d9531349 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; } -- 2.11.4.GIT