Commit 16c38c43 authored by Max Kellermann's avatar Max Kellermann

fs/Glob: use defaulted move constructor

parent 48cc4a6c
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment