Commit 4218f56f authored by Max Kellermann's avatar Max Kellermann

system/SignalFD: add "noexcept"

parent dd18fe34
......@@ -33,7 +33,7 @@ SignalFD::Create(const sigset_t &mask)
}
int
SignalFD::Read()
SignalFD::Read() noexcept
{
assert(fd.IsDefined());
......
......@@ -39,11 +39,11 @@ public:
*/
void Create(const sigset_t &mask);
void Close() {
void Close() noexcept {
fd.Close();
}
int Get() const {
int Get() const noexcept {
return fd.Get();
}
......@@ -52,7 +52,7 @@ public:
* signal number on success or -1 if there are no more
* signals.
*/
int Read();
int Read() noexcept;
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment