Summary: codemod with 'Yes to all'.
Test Plan: None really.
Reviewed By: abirchall@fb.com
FB internal diff:
D693769
TYPED_TEST(RWSpinLockTest, ConcurrentTests) {
typedef typename TestFixture::RWSpinLockType RWSpinLockType;
RWSpinLockType l;
- srand(time(NULL));
+ srand(time(nullptr));
std::vector<std::thread> threads;
for (int i = 0; i < FLAGS_num_threads; ++i) {
}
TEST(RWSpinLock, concurrent_holder_test) {
- srand(time(NULL));
+ srand(time(nullptr));
folly::RWSpinLock lock;
std::atomic<int64_t> reads(0);