From 1690169dcefcc6fe6249221c4c08cb371cc700fc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 May 2017 13:05:41 +0200 Subject: Make dir_iterator move-ctor noexcept, revert previous workaround --- libbutl/filesystem.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbutl/filesystem.hxx') diff --git a/libbutl/filesystem.hxx b/libbutl/filesystem.hxx index bf1b3af..4fa1021 100644 --- a/libbutl/filesystem.hxx +++ b/libbutl/filesystem.hxx @@ -434,7 +434,7 @@ namespace butl dir_iterator (const dir_iterator&) = delete; dir_iterator& operator= (const dir_iterator&) = delete; - dir_iterator (dir_iterator&& x); + dir_iterator (dir_iterator&&) noexcept; dir_iterator& operator= (dir_iterator&&); dir_iterator& operator++ () {next (); return *this;} -- cgit v1.1