folly: replace old-style header guards with "pragma once"
[folly.git] / folly / gen / Core.h
index 59455da26a4451e1de1a87ddf920859fbfa33131..6bfc7cf09e3439f166640a9a7c968d894f92a917 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_GEN_CORE_H
-#define FOLLY_GEN_CORE_H
+#pragma once
+#define FOLLY_GEN_CORE_H_
 
 namespace folly { namespace gen {
 
@@ -41,5 +41,3 @@ class Chain;
 }} // folly::gen
 
 #include <folly/gen/Core-inl.h>
-
-#endif // FOLLY_GEN_CORE_H