Make some AsyncTest methods virtual to allow mocking them using gtest/gmock
[folly.git] / folly / gen / File.h
index ded64c2084adce1d293a225a8b547b128fcf03de..b5dfc4b32f61d329d7d68bbe56171f7aaf48a48a 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.
  * 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 {
@@ -67,6 +67,4 @@ S toFile(File file, std::unique_ptr<IOBuf> buffer) {
 
 }}  // !folly::gen
 
-#include "folly/gen/File-inl.h"
-
-#endif // FOLLY_GEN_FILE_H
+#include <folly/gen/File-inl.h>