2017
[folly.git] / folly / io / RecordIO.h
index faf89029f2532fe66fa443a02af00a5cd7675233..a350fc10404b45d78d35af19c8878a7ea7ed72b0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 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.
@@ -22,7 +22,8 @@
  * 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>
@@ -176,5 +177,3 @@ RecordInfo validateRecord(ByteRange range, uint32_t fileId);
 }  // namespaces
 
 #include <folly/io/RecordIO-inl.h>
-
-#endif /* FOLLY_IO_RECORDIO_H_ */