Skip to content

Commit

Permalink
Remove redundant condition
Browse files Browse the repository at this point in the history
This fixes #93
  • Loading branch information
jeking3 committed Jan 2, 2025
1 parent b91dc19 commit 6607510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/format/alt_sstream_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace boost {
off += static_cast<off_type>(putend_ - pptr());
else if(way == ::std::ios_base::beg)
off += static_cast<off_type>(pbase() - pptr());
else if(way != ::std::ios_base::beg)
else
return pos_type(off_type(-1));
if(pbase() <= off+pptr() && off+pptr() <= putend_)
// set pptr
Expand Down

0 comments on commit 6607510

Please sign in to comment.