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/os/windows | |
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/os/windows')
-rw-r--r-- | src/os/windows/win32.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/os/windows/win32.cpp b/src/os/windows/win32.cpp index 9847de567..d2cc434a2 100644 --- a/src/os/windows/win32.cpp +++ b/src/os/windows/win32.cpp @@ -725,14 +725,6 @@ const char *GetCurrentLocale(const char *) return retbuf; } -uint GetCPUCoreCount() -{ - SYSTEM_INFO info; - - GetSystemInfo(&info); - return info.dwNumberOfProcessors; -} - static WCHAR _cur_iso_locale[16] = L""; |