summaryrefslogtreecommitdiff
path: root/boost/iostreams/code_converter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/iostreams/code_converter.hpp')
-rw-r--r--boost/iostreams/code_converter.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/iostreams/code_converter.hpp b/boost/iostreams/code_converter.hpp
index 280a5d0974..7ac2ff3bef 100644
--- a/boost/iostreams/code_converter.hpp
+++ b/boost/iostreams/code_converter.hpp
@@ -393,7 +393,8 @@ std::streamsize code_converter<Device, Codevt, Alloc>::write
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;