Disable zerocopy if we're notified about deferred copies, add a isZeroCopyWriteInProg...
[folly.git] / folly / AtomicBitSet.h
index 48f1fd9494f2f7ec6b0dfef59ee28c35250df754..00af899882d680c2174fa75ea7bd91890dea941c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 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_ATOMICBITSET_H_
-#define FOLLY_ATOMICBITSET_H_
+#pragma once
 
 #include <array>
 #include <atomic>
@@ -25,6 +24,8 @@
 
 #include <boost/noncopyable.hpp>
 
+#include <folly/Portability.h>
+
 namespace folly {
 
 /**
@@ -155,7 +156,4 @@ inline bool AtomicBitSet<N>::operator[](size_t idx) const {
   return test(idx);
 }
 
-}  // namespaces
-
-#endif /* FOLLY_ATOMICBITSET_H_ */
-
+} // namespace folly