cmake: mark the compression tests as slow
[folly.git] / folly / gen / File.h
index ded64c2084adce1d293a225a8b547b128fcf03de..6f1815c0fcea81e9ba0cfc4812b6a17093a36c0e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2014-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.
  * limitations under the License.
  */
 
-#ifndef FOLLY_GEN_FILE_H
-#define FOLLY_GEN_FILE_H
+#pragma once
+#define FOLLY_GEN_FILE_H_
 
-#include "folly/File.h"
-#include "folly/gen/Base.h"
-#include "folly/io/IOBuf.h"
+#include <folly/File.h>
+#include <folly/gen/Base.h>
+#include <folly/io/IOBuf.h>
 
 namespace folly {
 namespace gen {
@@ -27,7 +27,7 @@ namespace gen {
 namespace detail {
 class FileReader;
 class FileWriter;
-}  // namespace detail
+} // namespace detail
 
 /**
  * Generator that reads from a file with a buffer of the given size.
@@ -64,9 +64,7 @@ template <class S = detail::FileWriter>
 S toFile(File file, std::unique_ptr<IOBuf> buffer) {
   return S(std::move(file), std::move(buffer));
 }
+} // namespace gen
+} // namespace folly
 
-}}  // !folly::gen
-
-#include "folly/gen/File-inl.h"
-
-#endif // FOLLY_GEN_FILE_H
+#include <folly/gen/File-inl.h>