COMP: Fix no-assignment-operator warning and disable typedef-name synonym warning.

This commit is contained in:
Brad King 2005-06-09 08:18:46 -04:00
parent 05bd270109
commit 65ef62c697
1 changed files with 11 additions and 0 deletions

View File

@ -76,6 +76,8 @@ public:
static void IgnoreUnusedVariable(const ostringstream_cleanup&) {}
protected:
ostrstream& m_OStrStream;
private:
void operator=(ostringstream_cleanup const&);
};
class ostringstream: public ostrstream
@ -102,6 +104,11 @@ private:
void operator=(const ostringstream&);
};
#if defined(_MSC_VER)
# pragma warning (push)
# pragma warning (disable: 4097) /* typedef-name used as synonym for class */
#endif
class istringstream: private kwsys_stl::string, public istrstream
{
public:
@ -122,6 +129,10 @@ private:
void operator=(const istringstream&);
};
#if defined(_MSC_VER)
# pragma warning (pop)
#endif
} // namespace @KWSYS_NAMESPACE@_ios
#endif