COMP: Fix no-assignment-operator warning and disable typedef-name synonym warning.
This commit is contained in:
parent
05bd270109
commit
65ef62c697
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue