From 318af13491fccb820a62ab88f82da5f57da9d7fd Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Sat, 9 Nov 2002 13:48:16 +0000 Subject: [PATCH] 2002-11-04 Max Bowsher * String++.h: Add 'std::' where needed. --- ChangeLog | 4 ++++ String++.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 277e76ca..0e7e2fdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-11-04 Max Bowsher + + * String++.h: Add 'std::' where needed. + 2002-11-04 Max Bowsher * IniDBBuilderPackage.cc: Add 'using namespace std;'. diff --git a/String++.h b/String++.h index 202e2171..bd8f6f9a 100644 --- a/String++.h +++ b/String++.h @@ -33,7 +33,7 @@ public: // We're notperformance bottlenecked. String (const char *); String (int const); - String (string const &); + String (std::string const &); inline String & operator = (String const &); ~String(); // Up to the user to delete[] these. @@ -80,8 +80,8 @@ private: static String absorb (unsigned char *, size_t); }; -ostream & -operator << (ostream &os, String const &theString); +std::ostream & +operator << (std::ostream &os, String const &theString); String::String() : theData (new _data) {} String::String(String const &aString) : theData (aString.theData) -- 2.43.5