folly: replace old-style header guards with "pragma once"
[folly.git] / folly / MemoryMapping.h
index 0b9bce9fd9f0dd02fb675eea32293265be7b2002..bc114d898b90afae10a7aea21e3197a453f60669 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_MEMORYMAPPING_H_
-#define FOLLY_MEMORYMAPPING_H_
+#pragma once
 
 #include <folly/FBString.h>
 #include <folly/File.h>
@@ -250,5 +249,3 @@ void alignedForwardMemcpy(void* dest, const void* src, size_t size);
 void mmapFileCopy(const char* src, const char* dest, mode_t mode = 0666);
 
 }  // namespace folly
-
-#endif /* FOLLY_MEMORYMAPPING_H_ */