fs/Glob: use defaulted move constructor

This commit is contained in:
Max Kellermann 2021-05-19 17:36:40 +02:00
parent 48cc4a6ced
commit 16c38c438f
1 changed files with 2 additions and 2 deletions

View File

@ -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 {