thread/*: add "noexcept"

This commit is contained in:
Max Kellermann
2017-11-26 11:58:53 +01:00
parent 3b3ec402d6
commit 618704f504
11 changed files with 44 additions and 44 deletions

View File

@@ -44,12 +44,12 @@ public:
/**
* No initialisation.
*/
ThreadId() = default;
ThreadId() noexcept = default;
#ifdef WIN32
constexpr ThreadId(DWORD _id):id(_id) {}
constexpr ThreadId(DWORD _id) noexcept:id(_id) {}
#else
constexpr ThreadId(pthread_t _id):id(_id) {}
constexpr ThreadId(pthread_t _id) noexcept:id(_id) {}
#endif
gcc_const