skypjack / uvw

Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
MIT License
1.88k stars 211 forks source link

Make error_event copy assignable #316

Closed ruurdadema closed 2 months ago

ruurdadema commented 2 months ago

Please consider this PR which makes the error_event struct copy-assignable. The reason it's not right now is because the ec member variable is marked const. This makes is harder to work with this struct.

skypjack commented 2 months ago

It makes sense actaully. Thanks for pointing this out. 👍