No need to go through the list when you just want the size
[folly.git] / folly / CpuId.h
index 096fc8d12080832bb8a2d708599d10dbdeac6e94..fe3d58bb970fac74a1f218fcf11c3142a745cc6e 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_CPUID_H_
-#define FOLLY_CPUID_H_
+#pragma once
 
 #include <cstdint>
 #include <folly/Portability.h>
@@ -196,5 +195,3 @@ class CpuId {
 };
 
 }  // namespace folly
-
-#endif /* FOLLY_CPUID_H_ */