UnboundedQueue: Add LgAlign template parameter - Refactor code
[folly.git] / folly / AtomicBitSet.h
index d0d8f8044ccd7fc5e57f24f4e485814b4a45e6e4..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>
@@ -157,6 +156,4 @@ inline bool AtomicBitSet<N>::operator[](size_t idx) const {
   return test(idx);
 }
 
-}  // namespaces
-
-#endif /* FOLLY_ATOMICBITSET_H_ */
+} // namespace folly