Make error_event copy assignable

The const int makes the struct not copy assignable.
This commit is contained in:
Ruurd Adema 2024-09-03 22:24:49 +02:00
parent a4436b746e
commit 48219e75ae

View File

@ -70,7 +70,7 @@ struct error_event {
explicit operator bool() const noexcept;
private:
const int ec;
int ec;
};
/**