mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-11 15:20:59 +00:00
Use default move constructor
This is identical to the explicit one.
This commit is contained in:
parent
218adcb29b
commit
72a3ceff2e
@ -44,12 +44,7 @@ struct add_header{
|
|||||||
}
|
}
|
||||||
|
|
||||||
add_header(const add_header&) = delete;
|
add_header(const add_header&) = delete;
|
||||||
add_header(add_header&& val)
|
add_header(add_header&& val) = default;
|
||||||
: pregex(std::move(val.pregex))
|
|
||||||
, basestring(std::move(val.basestring))
|
|
||||||
, headkey(std::move(val.headkey))
|
|
||||||
, headvalue(std::move(val.headvalue))
|
|
||||||
{}
|
|
||||||
add_header& operator=(const add_header&) = delete;
|
add_header& operator=(const add_header&) = delete;
|
||||||
add_header& operator=(add_header&&) = delete;
|
add_header& operator=(add_header&&) = delete;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user