summaryrefslogtreecommitdiff
path: root/src/os/windows/win32.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2019-03-17 15:14:17 +0100
committerMichael Lutz <michi@icosahedron.de>2019-04-06 11:27:39 +0200
commit967b27a2c12953da3584f4eaade37f94effc007a (patch)
treeea2daf0e2abb3a861a467575636353f3d183a75e /src/os/windows/win32.cpp
parentae748166d06e756a0a6abab582dc341494a9b2da (diff)
downloadopenttd-967b27a2c12953da3584f4eaade37f94effc007a.tar.xz
Codechange: C++11 STL has a function for getting the number of CPU cores.
Diffstat (limited to 'src/os/windows/win32.cpp')
-rw-r--r--src/os/windows/win32.cpp8
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"";