X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fgen%2FFile.h;h=b5dfc4b32f61d329d7d68bbe56171f7aaf48a48a;hb=96791c4516497b4ea2ad08af12e4267bd1c4e796;hp=ded64c2084adce1d293a225a8b547b128fcf03de;hpb=faf7b5c67ce08ec1fbdd847349bf6f95aa46dd86;p=folly.git diff --git a/folly/gen/File.h b/folly/gen/File.h index ded64c20..b5dfc4b3 100644 --- a/folly/gen/File.h +++ b/folly/gen/File.h @@ -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. @@ -14,12 +14,12 @@ * 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 +#include +#include namespace folly { namespace gen { @@ -67,6 +67,4 @@ S toFile(File file, std::unique_ptr buffer) { }} // !folly::gen -#include "folly/gen/File-inl.h" - -#endif // FOLLY_GEN_FILE_H +#include