summaryrefslogtreecommitdiff
path: root/src/common/cpu_detect.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-08-17 20:32:04 -0400
committerbunnei <bunneidev@gmail.com>2014-08-17 20:32:04 -0400
commitb26f25356d4463b5e4ccd36cf7365342d7306e7f (patch)
tree1cbe356089890c22e3f1e4084891f306d6e62d97 /src/common/cpu_detect.h
parent7ed73af78fb1b8e736b7807633875b3fe05474e6 (diff)
parentda6f24b37470064f10e68186965949d728fecb3c (diff)
Merge pull request #51 from lioncash/pragma
Common: Move header guards over to pragma once.
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 e93cf333a..def6afdee 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_