From 13ac74e0a20d6cd860526cd53762d5fde0a97981 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Jan 2018 21:49:27 +0100 Subject: [PATCH] system/EPollFD: update API documentation --- src/system/EPollFD.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system/EPollFD.hxx b/src/system/EPollFD.hxx index 39dc5c6f5..caa5ac4ae 100644 --- a/src/system/EPollFD.hxx +++ b/src/system/EPollFD.hxx @@ -31,13 +31,14 @@ struct epoll_event; /** * A class that wraps Linux epoll. - * - * Errors in the constructor are fatal. */ class EPollFD { const int fd; public: + /** + * Throws on error. + */ EPollFD(); ~EPollFD() noexcept {