folly: replace old-style header guards with "pragma once"
[folly.git] / folly / io / Compression.h
index 05e3ed83dc46594385debfb9e0a043196ab74aaa..3575d8e4837acbb91f565bbcbf4a2941b7486a65 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_IO_COMPRESSION_H_
-#define FOLLY_IO_COMPRESSION_H_
+#pragma once
 
 #include <cstdint>
 #include <limits>
@@ -180,5 +179,3 @@ std::unique_ptr<Codec> getCodec(CodecType type,
                                 int level = COMPRESSION_LEVEL_DEFAULT);
 
 }}  // namespaces
-
-#endif /* FOLLY_IO_COMPRESSION_H_ */