2
0
mirror of https://github.com/boostorg/format.git synced 2026-01-19 04:12:10 +00:00

Remove redundant condition

This fixes #93
This commit is contained in:
James E. King III
2025-01-02 11:49:51 +00:00
committed by Jim King
parent b91dc19b4c
commit 6607510241

View File

@@ -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