Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63135 - trunk/boost/io/detail
From: bdawes_at_[hidden]
Date: 2010-06-20 08:56:34


Author: bemandawes
Date: 2010-06-20 08:56:34 EDT (Sun, 20 Jun 2010)
New Revision: 63135
URL: http://svn.boost.org/trac/boost/changeset/63135

Log:
String may be const type so disable assignment
Text files modified:
   trunk/boost/io/detail/quoted_manip.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/io/detail/quoted_manip.hpp
==============================================================================
--- trunk/boost/io/detail/quoted_manip.hpp (original)
+++ trunk/boost/io/detail/quoted_manip.hpp 2010-06-20 08:56:34 EDT (Sun, 20 Jun 2010)
@@ -57,6 +57,9 @@
 
         quoted_proxy(String s_, Char escape_, Char delim_)
           : string(s_), escape(escape_), delim(delim_) {}
+ private:
+ // String may be a const type, so disable the assignment operator
+ quoted_proxy& operator=(const quoted_proxy&); // = deleted
       };
 
       // abstract away difference between proxies with const or non-const basic_strings


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk