summaryrefslogtreecommitdiff
path: root/libstdc++
diff options
context:
space:
mode:
authordrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-04 12:40:30 +0000
committerdrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-04 12:40:30 +0000
commit68140fbde14d6240d4edbb86d810f43eb113856a (patch)
tree58fa676967e914435e944270a559e8bda20d26cb /libstdc++
parent6e8d740f156e87911ae192f97d7dd80fcb9772d3 (diff)
downloadgcc-68140fbde14d6240d4edbb86d810f43eb113856a.tar.gz
(operator<<): Correct type of numeric argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18403 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/ChangeLog4
-rw-r--r--libstdc++/cinst.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index 2084654b26c..13e8ea00c2a 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -1,3 +1,7 @@
+1998-03-04 12:37 Ulrich Drepper <drepper@cygnus.com>
+
+ * cinst.cc [INSERT] (operator<<): Correct type of numeric argument.
+
Fri Feb 6 01:36:21 1998 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
diff --git a/libstdc++/cinst.cc b/libstdc++/cinst.cc
index d28235dd2b5..010f3cad5e6 100644
--- a/libstdc++/cinst.cc
+++ b/libstdc++/cinst.cc
@@ -151,5 +151,5 @@ template c sqrt (ccr);
template istream& operator>> (istream&, complex<f>&);
#endif
#ifdef INSERT
-template ostream& operator<< (ostream&, complex<f>);
+template ostream& operator<< (ostream&, const complex<f>&);
#endif