/*
- * Copyright 2014 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 {
*/
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>