folly: replace old-style header guards with "pragma once"
[folly.git] / folly / IndexedMemPool.h
index f8771f33f01fd18c8619957ff8746e1e7ed08cf3..1007eff9ec803061c07b7fb97020a41174db1589 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_INDEXEDMEMPOOL_H
-#define FOLLY_INDEXEDMEMPOOL_H
+#pragma once
 
 #include <type_traits>
 #include <stdint.h>
@@ -466,4 +465,3 @@ struct IndexedMemPoolRecycler {
 } // namespace folly
 
 # pragma GCC diagnostic pop
-#endif