fs/Glob: use defaulted move constructor
This commit is contained in:
parent
48cc4a6ced
commit
16c38c438f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue