diff --git a/evdevPlus.cpp b/evdevPlus.cpp index 7f05122..2fc4bdc 100644 --- a/evdevPlus.cpp +++ b/evdevPlus.cpp @@ -22,7 +22,7 @@ void EventDevice::__open(const std::string &path, int open_flags) { throw std::system_error(errno, std::system_category(), "failed to open device"); path_ = path; - + fd_ = fd; } void EventDevice::__close() {