mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-28 06:29:37 +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 has_header_crc_error = false;
|
||||||
bool is_deleted = false;
|
bool is_deleted = false;
|
||||||
|
|
||||||
Sector() {}
|
Sector() noexcept {}
|
||||||
|
|
||||||
Sector(const Sector &&rhs) :
|
Sector(const Sector &&rhs) noexcept :
|
||||||
address(rhs.address),
|
address(rhs.address),
|
||||||
size(rhs.size),
|
size(rhs.size),
|
||||||
data(std::move(rhs.data)),
|
data(std::move(rhs.data)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user