From 875dfceca075da99c68091f8452293a7cdedb6b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 4 Mar 1998 12:40:30 +0000 Subject: [PATCH] (operator<<): Correct type of numeric argument. From-SVN: r18403 --- libstdc++/ChangeLog | 4 ++++ libstdc++/cinst.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index 2084654b26c8..13e8ea00c2a0 100644 --- a/libstdc++/ChangeLog +++ b/libstdc++/ChangeLog @@ -1,3 +1,7 @@ +1998-03-04 12:37 Ulrich Drepper + + * cinst.cc [INSERT] (operator<<): Correct type of numeric argument. + Fri Feb 6 01:36:21 1998 Manfred Hollstein * Makefile.in (piclist): Check value of enable_shared, not PICFLAG. diff --git a/libstdc++/cinst.cc b/libstdc++/cinst.cc index d28235dd2b50..010f3cad5e67 100644 --- a/libstdc++/cinst.cc +++ b/libstdc++/cinst.cc @@ -151,5 +151,5 @@ template c sqrt (ccr); template istream& operator>> (istream&, complex&); #endif #ifdef INSERT -template ostream& operator<< (ostream&, complex); +template ostream& operator<< (ostream&, const complex&); #endif -- 2.47.3