diff options
author | Max Kellermann <max@musicpd.org> | 2021-05-19 17:36:40 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-05-19 17:40:23 +0200 |
commit | 16c38c438f59c18142c1ca634d848816885f3e42 (patch) | |
tree | c26b0e1c8e03e244df44a5633489d7e9f4a846b2 | |
parent | 48cc4a6cedd7147791262474350b84b2b9e7b42f (diff) |
fs/Glob: use defaulted move constructor
-rw-r--r-- | src/fs/Glob.hxx | 4 |
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 { |