Ticket #5403: patch2.patch
File patch2.patch, 691 bytes (added by , 12 years ago) |
---|
-
operations.hpp
686 686 else 687 687 { 688 688 m_stack.push(directory_iterator(m_stack.top()->path(), *ec)); 689 if (*ec) return;689 if (*ec) {++m_level; return;} 690 690 } 691 691 if (m_stack.top() != directory_iterator()) 692 692 { … … 768 768 { 769 769 BOOST_ASSERT(m_imp.get() && "increment() on end recursive_directory_iterator"); 770 770 m_imp->increment(&ec); 771 if (m_imp->m_stack.empty()) 772 m_imp.reset(); // done, so make end iterator 771 773 return *this; 772 774 } 773 775