1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Marks the move constructor as noexcept, to improve usage with vector.

This commit is contained in:
Thomas Harte 2017-09-25 19:53:22 -04:00
parent d1ce764201
commit a8524daecb

View File

@ -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)),