Skip to content

Commit

Permalink
fs_event: instruct the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Oct 22, 2024
1 parent 7cb57e0 commit eb06aed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/uvw/fs_event.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace uvw {
UVW_INLINE fs_event_event::fs_event_event(const char *pathname, details::uvw_fs_event events)
: filename{pathname}, flags{std::move(events)} {}

// NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
UVW_INLINE void fs_event_handle::start_callback(uv_fs_event_t *hndl, const char *filename, int events, int status) {
if(fs_event_handle &fsEvent = *(static_cast<fs_event_handle *>(hndl->data)); status) {
fsEvent.publish(error_event{status});
Expand Down

0 comments on commit eb06aed

Please sign in to comment.