Fix compile errors on webrtc/base.
R=fbarchard@google.com, henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18339004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7052 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
0229cbae33
commit
bfd7a8c448
@ -259,7 +259,7 @@ std::string SystemInfo::GetCpuVendor() {
|
||||
__cpuid(cpu_info, 0);
|
||||
cpu_info[0] = cpu_info[1]; // Reorder output
|
||||
cpu_info[1] = cpu_info[3];
|
||||
cpu_info[2] = cpu_info[2];
|
||||
// cpu_info[2] = cpu_info[2]; // Avoid -Werror=self-assign
|
||||
cpu_info[3] = 0;
|
||||
cpu_vendor_ = std::string(reinterpret_cast<char*>(&cpu_info[0]));
|
||||
#elif defined(CPU_ARM)
|
||||
|
Loading…
x
Reference in New Issue
Block a user