diff options
Diffstat (limited to 'platform/platform_win.cpp')
-rw-r--r-- | platform/platform_win.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/platform/platform_win.cpp b/platform/platform_win.cpp index de63036a1b..b69ea1ff89 100644 --- a/platform/platform_win.cpp +++ b/platform/platform_win.cpp @@ -117,16 +117,6 @@ Platform::EError Platform::GetFileType(string const & path, EFileType & type) return ERR_OK; } -int Platform::CpuCores() const -{ - SYSTEM_INFO sysinfo; - GetSystemInfo(&sysinfo); - DWORD numCPU = sysinfo.dwNumberOfProcessors; - if (numCPU >= 1) - return static_cast<int>(numCPU); - return 1; -} - string Platform::UniqueClientId() const { return "@TODO"; |