mirror of
https://github.com/boostorg/iostreams.git
synced 2026-02-27 05:02:29 +00:00
namespace-qualified std::for_each
[SVN r28144]
This commit is contained in:
@@ -420,7 +420,8 @@ void chain_base<Self, Ch, Tr, Alloc, Mode>::reset()
|
||||
{
|
||||
using namespace std;
|
||||
pimpl_->close();
|
||||
for_each(list().begin(), list().end(), checked_deleter<streambuf_type>());
|
||||
std::for_each( list().begin(), list().end(),
|
||||
checked_deleter<streambuf_type>() );
|
||||
list().clear();
|
||||
pimpl_->flags_ &= ~f_complete;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user