Let SaturatingSemaphore::try_wait be non-const and add ready
[folly.git] / folly / AtomicBitSet.h
index 8e697b8d2bbf6c9833b0cacf8e2644cfee479817..00af899882d680c2174fa75ea7bd91890dea941c 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_ATOMICBITSET_H_
-#define FOLLY_ATOMICBITSET_H_
+#pragma once
 
 #include <array>
 #include <atomic>
@@ -157,6 +156,4 @@ inline bool AtomicBitSet<N>::operator[](size_t idx) const {
   return test(idx);
 }
 
-}  // namespaces
-
-#endif /* FOLLY_ATOMICBITSET_H_ */
+} // namespace folly