diff --git a/include/nana/filesystem/filesystem_ext.hpp b/include/nana/filesystem/filesystem_ext.hpp index 289bab0a..3c911b2b 100644 --- a/include/nana/filesystem/filesystem_ext.hpp +++ b/include/nana/filesystem/filesystem_ext.hpp @@ -49,7 +49,7 @@ class directory_only_iterator : public std::experimental::filesystem::directory_ return *this; this->DI::operator++(); } - return end; + return *this; } public: template