fs/Glob: use defaulted move constructor
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user