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)
|
explicit Glob(const char *_pattern)
|
||||||
:pattern(_pattern) {}
|
:pattern(_pattern) {}
|
||||||
|
|
||||||
Glob(Glob &&other)
|
Glob(Glob &&other) noexcept = default;
|
||||||
:pattern(std::move(other.pattern)) {}
|
Glob &operator=(Glob &&other) noexcept = default;
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
bool Check(const char *name_fs) const noexcept {
|
bool Check(const char *name_fs) const noexcept {
|
||||||
|
|
Loading…
Reference in New Issue