diff options
author | Geir Storli <geirst@yahooinc.com> | 2022-02-16 12:33:01 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2022-02-16 12:33:01 +0000 |
commit | 9abf0ea266fa7ab4402b0a96aa0514ab8b5622a6 (patch) | |
tree | b348787db025500b3bcd6c5c9d2d02629d7f9bf2 /storage | |
parent | 764afc2ec75333d0cbea6830facf233a97124597 (diff) |
Use std::nullopt for empty optionals.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/tests/distributor/top_level_distributor_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/tests/distributor/top_level_distributor_test.cpp b/storage/src/tests/distributor/top_level_distributor_test.cpp index e420d4d5f8e..2c19652b4c2 100644 --- a/storage/src/tests/distributor/top_level_distributor_test.cpp +++ b/storage/src/tests/distributor/top_level_distributor_test.cpp @@ -253,7 +253,7 @@ TEST_F(TopLevelDistributorTest, tick_aggregates_status_requests_from_all_stripes FakeClock clock; ThreadPoolImpl pool(clock); int ticksBeforeWait = 1; - framework::Thread::UP tp(pool.startThread(thread, "statustest", 5ms, 5s, ticksBeforeWait, {})); + framework::Thread::UP tp(pool.startThread(thread, "statustest", 5ms, 5s, ticksBeforeWait, std::nullopt)); while (true) { std::this_thread::sleep_for(1ms); |