summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-05-19 17:36:40 +0200
committerMax Kellermann <max@musicpd.org>2021-05-19 17:40:23 +0200
commit16c38c438f59c18142c1ca634d848816885f3e42 (patch)
treec26b0e1c8e03e244df44a5633489d7e9f4a846b2
parent48cc4a6cedd7147791262474350b84b2b9e7b42f (diff)
fs/Glob: use defaulted move constructor
-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 {