diff options
Diffstat (limited to 'libcxx/src/thread.cpp')
-rw-r--r-- | libcxx/src/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/thread.cpp b/libcxx/src/thread.cpp index 5959d8b71103..8dddb240b5a0 100644 --- a/libcxx/src/thread.cpp +++ b/libcxx/src/thread.cpp @@ -70,7 +70,7 @@ thread::detach() } unsigned -thread::hardware_concurrency() _NOEXCEPT +thread::hardware_concurrency() noexcept { #if defined(_SC_NPROCESSORS_ONLN) long result = sysconf(_SC_NPROCESSORS_ONLN); @@ -94,7 +94,7 @@ thread::hardware_concurrency() _NOEXCEPT # warning hardware_concurrency not yet implemented # endif return 0; // Means not computable [thread.thread.static] -#endif // defined(CTL_HW) && defined(HW_NCPU) +#endif // defined(CTL_HW) && defined(HW_NCPU) } namespace this_thread |