Make DestructorCheck::Safety no-copy, no-move
[folly.git] / folly / MemoryMapping.h
index 280a261fd6407c14d596dd419f57310e5951f694..14ce382da7938c510f09073afdfb12a6c255eae2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#ifndef FOLLY_MEMORYMAPPING_H_
-#define FOLLY_MEMORYMAPPING_H_
+#pragma once
 
-#include <folly/FBString.h>
 #include <folly/File.h>
 #include <folly/Range.h>
 #include <glog/logging.h>
@@ -250,5 +248,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_ */