Skip to content

Commit 6607510

Browse files
committed
Remove redundant condition
This fixes #93
1 parent b91dc19 commit 6607510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/format/alt_sstream_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ namespace boost {
126126
off += static_cast<off_type>(putend_ - pptr());
127127
else if(way == ::std::ios_base::beg)
128128
off += static_cast<off_type>(pbase() - pptr());
129-
else if(way != ::std::ios_base::beg)
129+
else
130130
return pos_type(off_type(-1));
131131
if(pbase() <= off+pptr() && off+pptr() <= putend_)
132132
// set pptr

0 commit comments

Comments
 (0)