Skip to content

Commit

Permalink
Make error_event copy assignable
Browse files Browse the repository at this point in the history
The const int makes the struct not copy assignable.
  • Loading branch information
ruurdadema committed Sep 3, 2024
1 parent a4436b7 commit 48219e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uvw/emitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct error_event {
explicit operator bool() const noexcept;

private:
const int ec;
int ec;
};

/**
Expand Down

0 comments on commit 48219e7

Please sign in to comment.