Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84162 - trunk/boost/iostreams
From: dnljms_at_[hidden]
Date: 2013-05-06 06:28:43


Author: danieljames
Date: 2013-05-06 06:28:43 EDT (Mon, 06 May 2013)
New Revision: 84162
URL: http://svn.boost.org/trac/boost/changeset/84162

Log:
Use the new fallthrough macro in iostreams. Refs #8482.
Text files modified:
   trunk/boost/iostreams/code_converter.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/iostreams/code_converter.hpp
==============================================================================
--- trunk/boost/iostreams/code_converter.hpp (original)
+++ trunk/boost/iostreams/code_converter.hpp 2013-05-06 06:28:43 EDT (Mon, 06 May 2013)
@@ -393,7 +393,8 @@
 
         switch (result) {
         case std::codecvt_base::partial:
- partial = true; // Fall through.
+ partial = true;
+ BOOST_FALLTHROUGH;
         case std::codecvt_base::ok:
             total = static_cast<std::streamsize>(nint - s);
             break;


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