diff --git a/src/cpp_regex_traits.cpp b/src/cpp_regex_traits.cpp index 962d4531..bf9d221f 100644 --- a/src/cpp_regex_traits.cpp +++ b/src/cpp_regex_traits.cpp @@ -145,6 +145,7 @@ parser_buf::seekoff(off_type off, ::std::ios_base::seekdir way, : else this->setg(g, g + newpos, g + size); } + default: ; } return static_cast(this->gptr() - this->eback()); } @@ -865,3 +866,4 @@ std::size_t BOOST_REGEX_CALL cpp_regex_traits::strwiden(wchar_t *s1, st #endif +