diff --git a/utilities/backupable/backupable_db.cc b/utilities/backupable/backupable_db.cc index 37d9cb907af6769b6e01633734b18fdc23e80659..5c2c856da6dc297247ad197fd438af0b2aac63d1 100644 --- a/utilities/backupable/backupable_db.cc +++ b/utilities/backupable/backupable_db.cc @@ -632,7 +632,7 @@ Status BackupEngineImpl::Initialize() { // set up threads perform copies from files_to_copy_or_create_ in the // background for (int t = 0; t < options_.max_background_operations; t++) { - threads_.emplace_back([&]() { + threads_.emplace_back([this]() { CopyOrCreateWorkItem work_item; while (files_to_copy_or_create_.read(work_item)) { CopyOrCreateResult result;