system/Event{FD,Pipe}: add "noexcept"

This commit is contained in:
Max Kellermann
2018-08-06 11:57:40 +02:00
parent 0c1a001622
commit 5b09504a71
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ EventFD::EventFD()
}
bool
EventFD::Read()
EventFD::Read() noexcept
{
assert(fd.IsDefined());
@@ -42,7 +42,7 @@ EventFD::Read()
}
void
EventFD::Write()
EventFD::Write() noexcept
{
assert(fd.IsDefined());