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

View File

@@ -35,7 +35,7 @@ public:
*/
EventFD();
int Get() const {
int Get() const noexcept {
return fd.Get();
}
@@ -43,13 +43,13 @@ public:
* Checks if Write() was called at least once since the last
* Read() call.
*/
bool Read();
bool Read() noexcept;
/**
* Wakes up the reader. Multiple calls to this function will
* be combined to one wakeup.
*/
void Write();
void Write() noexcept;
};
#endif