Update fs_event.hpp

This commit is contained in:
Michele Caini 2017-01-19 08:43:37 +01:00 committed by GitHub
parent dded65945c
commit c631e4cc9f

View File

@ -39,8 +39,8 @@ enum class UVFsEvent: std::underlying_type_t<uv_fs_event> {
* It will be emitted by FsEventHandle according with its functionalities.
*/
struct FsEventEvent: Event<FsEventEvent> {
FsEventEvent(const char * _filename, Flags<details::UVFsEvent> _flags)
: filename{_filename}, flags{std::move(_flags)}
FsEventEvent(const char * pathname, Flags<details::UVFsEvent> events)
: filename{pathname}, flags{std::move(events)}
{}
/**