summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsys_ios_sstream.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/kwsys_ios_sstream.h.in')
-rw-r--r--Source/kwsys/kwsys_ios_sstream.h.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/kwsys_ios_sstream.h.in b/Source/kwsys/kwsys_ios_sstream.h.in
index f1eb8be..9b4ec6b 100644
--- a/Source/kwsys/kwsys_ios_sstream.h.in
+++ b/Source/kwsys/kwsys_ios_sstream.h.in
@@ -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