From 6d383d288d516a55bf81074167f1e6bdf036da3e Mon Sep 17 00:00:00 2001 From: qPCR4vir Date: Fri, 19 Feb 2016 14:26:30 +0100 Subject: [PATCH] fix return local end --- include/nana/filesystem/filesystem_ext.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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