folly: replace old-style header guards with "pragma once"
[folly.git] / folly / File.h
index 53e58deffe1621e82273977af57fe6006bdc2354..09a3b6bf4e087f9a0f53e6faef8bb2ec70528011 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_FILE_H_
-#define FOLLY_FILE_H_
+#pragma once
 
 #include <fcntl.h>
 #include <sys/stat.h>
@@ -136,5 +135,3 @@ void swap(File& a, File& b);
 
 
 }  // namespace folly
-
-#endif /* FOLLY_FILE_H_ */