commit | b15d285458ce4f30c2c31426633a6c98056820eb | [log] [tgz] |
---|---|---|
author | phoglund@webrtc.org <phoglund@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Wed Nov 21 08:02:57 2012 +0000 |
committer | phoglund@webrtc.org <phoglund@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Wed Nov 21 08:02:57 2012 +0000 |
tree | 0a9dd2aec428454053423a804e456cd64e0f49b8 | |
parent | 5835adfef067e5df700879629fbc7abae7d57939 [diff] [blame] |
Reformatted most of the CPU stuff in system_wrappers. BUG= Review URL: https://webrtc-codereview.appspot.com/930025 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3142 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/system_wrappers/interface/cpu_info.h b/webrtc/system_wrappers/interface/cpu_info.h index a6da29f..e3c9c29 100644 --- a/webrtc/system_wrappers/interface/cpu_info.h +++ b/webrtc/system_wrappers/interface/cpu_info.h
@@ -14,14 +14,16 @@ #include "typedefs.h" namespace webrtc { -class CpuInfo -{ -public: - static WebRtc_UWord32 DetectNumberOfCores(); -private: - CpuInfo() {} - static WebRtc_UWord32 _numberOfCores; +class CpuInfo { + public: + static WebRtc_UWord32 DetectNumberOfCores(); + + private: + CpuInfo() {} + static WebRtc_UWord32 number_of_cores_; }; + } // namespace webrtc + #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_INFO_H_