2017
[folly.git] / folly / io / RecordIO.h
index 14c88f26a3e7e985eea4fb278dbd3500f2a99506..a350fc10404b45d78d35af19c8878a7ea7ed72b0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 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.
  * 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/MemoryMapping.h>
+#include <folly/io/IOBuf.h>
 
 namespace folly {
 
@@ -175,7 +176,4 @@ RecordInfo validateRecord(ByteRange range, uint32_t fileId);
 
 }  // namespaces
 
-#include "folly/io/RecordIO-inl.h"
-
-#endif /* FOLLY_IO_RECORDIO_H_ */
-
+#include <folly/io/RecordIO-inl.h>