mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
spinlock_bench.cpp: Fix wpiformat warning (#1282)
This commit is contained in:
@@ -25,7 +25,9 @@ static wpi::recursive_spinlock2 recursive_spinlock2;
|
||||
static wpi::recursive_spinlock recursive_spinlock;
|
||||
|
||||
TEST(SpinlockTest, Benchmark) {
|
||||
using namespace std::chrono;
|
||||
using std::chrono::duration_cast;
|
||||
using std::chrono::high_resolution_clock;
|
||||
using std::chrono::microseconds;
|
||||
|
||||
// warmup
|
||||
std::thread thr([]() {
|
||||
|
||||
Reference in New Issue
Block a user