Flesh out Optional members swap, reset, emplace, has_value
[folly.git] / folly / test / AHMIntStressTest.cpp
index e119cde9c96401a264a1d736cfb7d0a313bd4c5c..af3e0443105885bcc08e1c60e5dda70097958ff4 100644 (file)
  * limitations under the License.
  */
 
-#include <thread>
 #include <memory>
 #include <mutex>
+#include <thread>
 
 #include <folly/AtomicHashMap.h>
-#include <folly/ScopeGuard.h>
 #include <folly/Memory.h>
+#include <folly/ScopeGuard.h>
 #include <folly/portability/GTest.h>
 
 namespace {
@@ -93,7 +93,7 @@ struct MyObjectDirectory {
   std::shared_ptr<MyMap> prev_;
 };
 
-}
+} // namespace
 
 //////////////////////////////////////////////////////////////////////
 
@@ -119,5 +119,7 @@ TEST(AHMIntStressTest, Test) {
     });
   }
 
-  for (auto& t : threads) t.join();
+  for (auto& t : threads) {
+    t.join();
+}
 }