Add <new> header for placement new
[folly.git] / folly / Likely.h
index 0888ab7a9891623d3a270c4851bd54d49945923c..9a5aea99abd4ea6c69b25c9d086364527bc0e3db 100644 (file)
@@ -21,8 +21,7 @@
  * @author Tudor Bosman (tudorb@fb.com)
  */
 
-#ifndef FOLLY_BASE_LIKELY_H_
-#define FOLLY_BASE_LIKELY_H_
+#pragma once
 
 #undef LIKELY
 #undef UNLIKELY
@@ -34,5 +33,3 @@
 #define LIKELY(x)   (x)
 #define UNLIKELY(x) (x)
 #endif
-
-#endif /* FOLLY_BASE_LIKELY_H_ */