aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/cpu_detect.h
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2014-08-17 13:45:50 -0400
committerGravatar Lioncash <mathew1800@gmail.com>2014-08-17 13:45:55 -0400
commit90e994471a385d2b965e3843e1f693ccba6fb699 (patch)
treeb5835e0b235225f8478f26814205337d26a5d91a /src/common/cpu_detect.h
parentd1c2b76ad1687c4ccf5673d593de3b7f8710a9c0 (diff)
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
Diffstat (limited to 'src/common/cpu_detect.h')
-rw-r--r--src/common/cpu_detect.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/cpu_detect.h b/src/common/cpu_detect.h
index e93cf333..def6afde 100644
--- a/src/common/cpu_detect.h
+++ b/src/common/cpu_detect.h
@@ -4,8 +4,7 @@
// Detect the cpu, so we'll know which optimizations to use
-#ifndef _CPUDETECT_H_
-#define _CPUDETECT_H_
+#pragma once
#include <string>
@@ -77,5 +76,3 @@ private:
};
extern CPUInfo cpu_info;
-
-#endif // _CPUDETECT_H_