diff --git a/db/view/view.cc b/db/view/view.cc index b34ce9d5e9..d76188e384 100644 --- a/db/view/view.cc +++ b/db/view/view.cc @@ -1194,7 +1194,7 @@ static future<> apply_to_remote_endpoints(gms::inet_address target, inet_address // appropriate paired replicas. This is done asynchronously - we do not wait // for the writes to complete. future<> mutate_MV( - const dht::token& base_token, + dht::token base_token, std::vector view_updates, db::view::stats& stats, cf_stats& cf_stats, diff --git a/db/view/view.hh b/db/view/view.hh index 88aba876df..c8f3277cd4 100644 --- a/db/view/view.hh +++ b/db/view/view.hh @@ -151,7 +151,7 @@ query::clustering_row_ranges calculate_affected_clustering_ranges( struct wait_for_all_updates_tag {}; using wait_for_all_updates = bool_class; future<> mutate_MV( - const dht::token& base_token, + dht::token base_token, std::vector view_updates, db::view::stats& stats, cf_stats& cf_stats,