diff options
author | Michael Lutz <michi@icosahedron.de> | 2019-03-17 15:14:17 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2019-04-06 11:27:39 +0200 |
commit | 967b27a2c12953da3584f4eaade37f94effc007a (patch) | |
tree | ea2daf0e2abb3a861a467575636353f3d183a75e /src/thread.h | |
parent | ae748166d06e756a0a6abab582dc341494a9b2da (diff) | |
download | openttd-967b27a2c12953da3584f4eaade37f94effc007a.tar.xz |
Codechange: C++11 STL has a function for getting the number of CPU cores.
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/thread.h b/src/thread.h index cd2608221..53548cc06 100644 --- a/src/thread.h +++ b/src/thread.h @@ -30,12 +30,6 @@ inline void CSleep(int milliseconds) } /** - * Get number of processor cores in the system, including HyperThreading or similar. - * @return Total number of processor cores. - */ -uint GetCPUCoreCount(); - -/** * Name the thread this function is called on for the debugger. * @param name Name to set for the thread.. */ |