*: add lost of "noexcept" specifications

This commit is contained in:
Max Kellermann
2017-06-03 21:33:44 +02:00
parent 62b03cfddf
commit a057b4f6d8
65 changed files with 246 additions and 241 deletions

View File

@@ -53,7 +53,7 @@ public:
#endif
gcc_const
static ThreadId Null() {
static ThreadId Null() noexcept {
#ifdef WIN32
return 0;
#else
@@ -63,7 +63,7 @@ public:
}
gcc_pure
bool IsNull() const {
bool IsNull() const noexcept {
return *this == Null();
}
@@ -80,7 +80,7 @@ public:
}
gcc_pure
bool operator==(const ThreadId &other) const {
bool operator==(const ThreadId &other) const noexcept {
#ifdef WIN32
return id == other.id;
#else