Fix copyright lines
[folly.git] / folly / io / RecordIO.h
index 14c88f26a3e7e985eea4fb278dbd3500f2a99506..e30923d9485dbfadaa12824203290a4a3b4566c2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2013-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * or deleted chunks of the file, or modified data.  When reading, you may lose
  * corrupted records, but the stream will resynchronize automatically.
  */
-#ifndef FOLLY_IO_RECORDIO_H_
+
+#pragma once
 #define FOLLY_IO_RECORDIO_H_
 
 #include <atomic>
 #include <memory>
 #include <mutex>
 
-#include "folly/File.h"
-#include "folly/Range.h"
-#include "folly/MemoryMapping.h"
-#include "folly/io/IOBuf.h"
+#include <folly/File.h>
+#include <folly/Range.h>
+#include <folly/io/IOBuf.h>
+#include <folly/system/MemoryMapping.h>
 
 namespace folly {
 
@@ -171,11 +172,8 @@ RecordInfo findRecord(ByteRange range, uint32_t fileId);
  */
 RecordInfo validateRecord(ByteRange range, uint32_t fileId);
 
-}  // namespace recordio_helpers
-
-}  // namespaces
-
-#include "folly/io/RecordIO-inl.h"
+} // namespace recordio_helpers
 
-#endif /* FOLLY_IO_RECORDIO_H_ */
+} // namespace folly
 
+#include <folly/io/RecordIO-inl.h>