mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-03 13:07:24 +00:00
Use default move constructor (#2288)
This is identical to the explicit one.
This commit is contained in:
parent
a568aa70fd
commit
981e97ee76
@ -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