fs_event: instruct the linter
This commit is contained in:
parent
7cb57e0c46
commit
eb06aed649
@ -6,6 +6,7 @@ namespace uvw {
|
|||||||
UVW_INLINE fs_event_event::fs_event_event(const char *pathname, details::uvw_fs_event events)
|
UVW_INLINE fs_event_event::fs_event_event(const char *pathname, details::uvw_fs_event events)
|
||||||
: filename{pathname}, flags{std::move(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) {
|
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) {
|
if(fs_event_handle &fsEvent = *(static_cast<fs_event_handle *>(hndl->data)); status) {
|
||||||
fsEvent.publish(error_event{status});
|
fsEvent.publish(error_event{status});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user