summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/Glob.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/Glob.hxx b/src/fs/Glob.hxx
index c7d11c329..7c33af782 100644
--- a/src/fs/Glob.hxx
+++ b/src/fs/Glob.hxx
@@ -46,8 +46,8 @@ public:
explicit Glob(const char *_pattern)
:pattern(_pattern) {}
- Glob(Glob &&other)
- :pattern(std::move(other.pattern)) {}
+ Glob(Glob &&other) noexcept = default;
+ Glob &operator=(Glob &&other) noexcept = default;
gcc_pure
bool Check(const char *name_fs) const noexcept {