folly: replace old-style header guards with "pragma once"
[folly.git] / folly / io / TypedIOBuf.h
index e958490c106eb57b89d331c76fd9072e1a20672f..0a58bbc69edc9baae304e493cadb1a80935bf21e 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_IO_TYPEDIOBUF_H_
-#define FOLLY_IO_TYPEDIOBUF_H_
+#pragma once
 
 #include <algorithm>
 #include <iterator>
@@ -214,5 +213,3 @@ class TypedIOBuf {
 };
 
 }  // namespace folly
-
-#endif /* FOLLY_IO_TYPEDIOBUF_H_ */