From 38f82a90ef5f4ec1fa341ce3ab34f3836a6bd9ea Mon Sep 17 00:00:00 2001 From: gulrak Date: Fri, 3 May 2019 23:50:43 +0200 Subject: [PATCH] Additional fix for recursive_directory_iterator --- include/ghc/filesystem.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index 7525630..5dad68b 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -4882,6 +4882,7 @@ GHC_INLINE recursive_directory_iterator& recursive_directory_iterator::increment _impl->_dir_iter_stack.pop(); _impl->_dir_iter_stack.top().increment(ec); } + _impl->_recursion_pending = true; return *this; }