From a4085a5269ed0f0f5e562812594a30b43bdf1100 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 15 Dec 2007 17:36:31 +0000 Subject: [PATCH] Trivial patches to silence MSVC warnings. [SVN r42076] --- include/boost/io/ios_state.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/boost/io/ios_state.hpp b/include/boost/io/ios_state.hpp index c9b4576..9c45c0b 100644 --- a/include/boost/io/ios_state.hpp +++ b/include/boost/io/ios_state.hpp @@ -50,6 +50,8 @@ public: private: state_type & s_save_; aspect_type const a_save_; + + ios_flags_saver& operator=(const ios_flags_saver&); }; class ios_precision_saver @@ -73,6 +75,8 @@ public: private: state_type & s_save_; aspect_type const a_save_; + + ios_precision_saver& operator=(const ios_precision_saver&); }; class ios_width_saver @@ -96,6 +100,7 @@ public: private: state_type & s_save_; aspect_type const a_save_; + ios_width_saver& operator=(const ios_width_saver&); }; @@ -277,6 +282,8 @@ private: state_type & s_save_; aspect_type const a_save_; index_type const i_save_; + + ios_iword_saver& operator=(const ios_iword_saver&); }; class ios_pword_saver @@ -302,6 +309,8 @@ private: state_type & s_save_; aspect_type const a_save_; index_type const i_save_; + + ios_pword_saver operator=(const ios_pword_saver&); }; @@ -332,6 +341,8 @@ private: state_type::fmtflags const a1_save_; ::std::streamsize const a2_save_; ::std::streamsize const a3_save_; + + ios_base_all_saver& operator=(const ios_base_all_saver&); }; template < typename Ch, class Tr > @@ -408,6 +419,8 @@ private: index_type const i_save_; long const a1_save_; void * const a2_save_; + + ios_all_word_saver& operator=(const ios_all_word_saver&); };