diff options
Diffstat (limited to 'lib/String.cc')
-rw-r--r-- | lib/String.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/String.cc b/lib/String.cc index 0fa4278..786c623 100644 --- a/lib/String.cc +++ b/lib/String.cc @@ -1,4 +1,4 @@ -#include <iostream.h> +#include <iostream> #include <string.h> #include <stdarg.h> #include "String.h" @@ -178,11 +178,11 @@ String & String::operator+=(const String & s) { return (*this); } -ostream & operator<<(ostream & os, const String & s) { +std::ostream & operator<<(std::ostream & os, const String & s) { return (os << s.to_charp()); } -istream & operator>>(istream & is, String & s) { +std::istream & operator>>(std::istream & is, String & s) { char c = 0; s.set(""); |