diff --git a/cache/secondary_cache_adapter.cc b/cache/secondary_cache_adapter.cc index ff6334d07..06441a17a 100644 --- a/cache/secondary_cache_adapter.cc +++ b/cache/secondary_cache_adapter.cc @@ -376,7 +376,7 @@ void CacheWithSecondaryAdapter::WaitAll(AsyncLookupHandle* async_handles, for (AsyncLookupHandle* cur : my_pending) { my_secondary_handles.push_back(cur->pending_handle); } - secondary_cache_->WaitAll(my_secondary_handles); + secondary_cache_->WaitAll(std::move(my_secondary_handles)); } // Process results