diff --git a/db/db_test.cc b/db/db_test.cc index b0c91b2006..fb18bdb8fa 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -11109,7 +11109,8 @@ TEST_F(DBTest, DynamicLevelMaxBytesBaseInc) { int non_trivial = 0; rocksdb::SyncPoint::GetInstance()->SetCallBack( - "DBImpl::BackgroundCompaction:NonTrivial", [&]() { non_trivial++; }); + "DBImpl::BackgroundCompaction:NonTrivial", + [&](void* arg) { non_trivial++; }); rocksdb::SyncPoint::GetInstance()->EnableProcessing(); Random rnd(301);