mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Marks the move constructor as noexcept, to improve usage with vector
.
This commit is contained in:
parent
d1ce764201
commit
a8524daecb
@ -40,9 +40,9 @@ struct Sector {
|
||||
bool has_header_crc_error = false;
|
||||
bool is_deleted = false;
|
||||
|
||||
Sector() {}
|
||||
Sector() noexcept {}
|
||||
|
||||
Sector(const Sector &&rhs) :
|
||||
Sector(const Sector &&rhs) noexcept :
|
||||
address(rhs.address),
|
||||
size(rhs.size),
|
||||
data(std::move(rhs.data)),
|
||||
|
Loading…
Reference in New Issue
Block a user