From bb9a25c9bd138406bd7385ba772a5f19b8795dd8 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Wed, 26 Jan 2005 11:07:32 +0000 Subject: [PATCH] std_complex.h: Remove usages of the dead _GLIBCXX_BUGGY_COMPLEX macro. 2005-01-26 Paolo Carlini * include/std/std_complex.h: Remove usages of the dead _GLIBCXX_BUGGY_COMPLEX macro. From-SVN: r94258 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/std/std_complex.h | 16 +++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 588fa8edb7c0..04250f663c0a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2005-01-26 Paolo Carlini + + * include/std/std_complex.h: Remove usages of the dead + _GLIBCXX_BUGGY_COMPLEX macro. + 2005-01-21 Volker Reichelt PR libstdc++/19510 diff --git a/libstdc++-v3/include/std/std_complex.h b/libstdc++-v3/include/std/std_complex.h index e1027f65991f..244ed284f699 100644 --- a/libstdc++-v3/include/std/std_complex.h +++ b/libstdc++-v3/include/std/std_complex.h @@ -1,6 +1,6 @@ // The template and inlines for the -*- C++ -*- complex number classes. -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -736,9 +736,7 @@ namespace std typedef float value_type; complex(float = 0.0f, float = 0.0f); -#ifdef _GLIBCXX_BUGGY_COMPLEX - complex(const complex& __z) : _M_value(__z._M_value) { } -#endif + explicit complex(const complex&); explicit complex(const complex&); @@ -892,10 +890,8 @@ namespace std public: typedef double value_type; - complex(double =0.0, double =0.0); -#ifdef _GLIBCXX_BUGGY_COMPLEX - complex(const complex& __z) : _M_value(__z._M_value) { } -#endif + complex(double = 0.0, double = 0.0); + complex(const complex&); explicit complex(const complex&); @@ -1049,9 +1045,7 @@ namespace std typedef long double value_type; complex(long double = 0.0L, long double = 0.0L); -#ifdef _GLIBCXX_BUGGY_COMPLEX - complex(const complex& __z) : _M_value(__z._M_value) { } -#endif + complex(const complex&); complex(const complex&); -- 2.47.2