/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2013-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* 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 {
std::shared_ptr<MyMap> prev_;
};
-}
+} // namespace
//////////////////////////////////////////////////////////////////////
});
}
- for (auto& t : threads) t.join();
+ for (auto& t : threads) {
+ t.join();
+}
}