folly: replace old-style header guards with "pragma once"
[folly.git] / folly / IntrusiveList.h
index 8d48c2aa6f0fbc2ebdc57ebde2c36e880fb3222d..5a670e7236b2e8a38e02b1e77ffd89cf72c4c461 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_INTRUSIVELIST_H_
-#define FOLLY_INTRUSIVELIST_H_
+#pragma once
 
 /*
  * This file contains convenience aliases that make boost::intrusive::list
@@ -117,5 +116,3 @@ using CountedIntrusiveList = boost::intrusive::list<
     boost::intrusive::constant_time_size<true>>;
 
 } // folly
-
-#endif // FOLLY_INTRUSIVELIST_H_