Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pollable_fd_state: Mark destructor protected and make non-virtual
The pollable_fd_state is base class for backend-specific fd states. Those are created and destroyed via backend virtual calls. In that case, base class destructor doesn't need to be virtual, deleting an object via derived pointer would call correct destructor on its own. Also, the base class destructor is marked protected to explicitly disallow deletion via base-class. Signed-off-by: Pavel Emelyanov <[email protected]>
- Loading branch information