From cec84d242ded9b4bffb67edaf9b8b13d71f3ae7f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 4 Aug 2017 16:26:37 +0200 Subject: NO-OP: whitespace --- libs/pbd/cpus.cc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libs/pbd') diff --git a/libs/pbd/cpus.cc b/libs/pbd/cpus.cc index f43b128da1..fed7725b76 100644 --- a/libs/pbd/cpus.cc +++ b/libs/pbd/cpus.cc @@ -50,23 +50,23 @@ hardware_concurrency() } } #if defined(PTW32_VERSION) || defined(__hpux) - return pthread_num_processors_np(); + return pthread_num_processors_np(); #elif defined(__APPLE__) - int count; - size_t size=sizeof(count); - return sysctlbyname("hw.physicalcpu",&count,&size,NULL,0)?0:count; + int count; + size_t size=sizeof(count); + return sysctlbyname("hw.physicalcpu",&count,&size,NULL,0)?0:count; #elif defined(__FreeBSD__) - int count; - size_t size=sizeof(count); - return sysctlbyname("hw.ncpu",&count,&size,NULL,0)?0:count; + int count; + size_t size=sizeof(count); + return sysctlbyname("hw.ncpu",&count,&size,NULL,0)?0:count; #elif defined(HAVE_UNISTD) && defined(_SC_NPROCESSORS_ONLN) - int const count=sysconf(_SC_NPROCESSORS_ONLN); - return (count>0)?count:0; + int const count=sysconf(_SC_NPROCESSORS_ONLN); + return (count>0)?count:0; #elif defined(PLATFORM_WINDOWS) - SYSTEM_INFO sys_info; - GetSystemInfo( &sys_info ); - return sys_info.dwNumberOfProcessors; + SYSTEM_INFO sys_info; + GetSystemInfo( &sys_info ); + return sys_info.dwNumberOfProcessors; #else - return 0; + return 0; #endif } -- cgit v1.2.3