make io::Cursor::push() safe to call with an empty ByteRange
[folly.git] / folly / ThreadCachedArena.h
index 24bc0599f8ce12267d6fcc6b5c1789e75ba30f80..9b22b6c9e1e1f2e089fbef18eb9093363bc10dc6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 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,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_THREADCACHEDARENA_H_
-#define FOLLY_THREADCACHEDARENA_H_
+#pragma once
 
 #include <type_traits>
 
@@ -86,5 +85,3 @@ template <>
 struct IsArenaAllocator<ThreadCachedArena> : std::true_type { };
 
 }  // namespace folly
-
-#endif /* FOLLY_THREADCACHEDARENA_H_ */