aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@cygnus.com>1998-03-04 12:40:30 +0000
committerUlrich Drepper <drepper@gcc.gnu.org>1998-03-04 12:40:30 +0000
commit875dfceca075da99c68091f8452293a7cdedb6b4 (patch)
tree58fa676967e914435e944270a559e8bda20d26cb
parent89a5e42bfd0bf3deb6a86fe89b85218422bf1260 (diff)
downloadgcc-875dfceca075da99c68091f8452293a7cdedb6b4.zip
gcc-875dfceca075da99c68091f8452293a7cdedb6b4.tar.gz
gcc-875dfceca075da99c68091f8452293a7cdedb6b4.tar.bz2
(operator<<): Correct type of numeric argument.
From-SVN: r18403
-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 2084654..13e8ea0 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 d28235d..010f3ca 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