folly: replace old-style header guards with "pragma once"
[folly.git] / folly / detail / ThreadLocalDetail.h
index 57d1767e7ec7d71ffca13e486ad0e76c70ed1ca1..23c566f09812784d2d1103b52acef7a6b99dfbc4 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_DETAIL_THREADLOCALDETAIL_H_
-#define FOLLY_DETAIL_THREADLOCALDETAIL_H_
+#pragma once
 
 #include <limits.h>
 #include <pthread.h>
@@ -359,5 +358,3 @@ struct StaticMeta : StaticMetaBase {
 
 }  // namespace threadlocal_detail
 }  // namespace folly
-
-#endif /* FOLLY_DETAIL_THREADLOCALDETAIL_H_ */