Make error_event copy assignable
The const int makes the struct not copy assignable.
This commit is contained in:
parent
a4436b746e
commit
48219e75ae
@ -70,7 +70,7 @@ struct error_event {
|
|||||||
explicit operator bool() const noexcept;
|
explicit operator bool() const noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const int ec;
|
int ec;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user