Commit 76350c6e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

compat: Thread: Add missing noexcept on hardware_concurrency

parent d66fad35
...@@ -143,7 +143,7 @@ public: ...@@ -143,7 +143,7 @@ public:
i.release(); i.release();
} }
static unsigned hardware_concurrency() static unsigned hardware_concurrency() noexcept
{ {
#ifdef _WIN32 #ifdef _WIN32
#if WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP #if WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP
......
Supports Markdown
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