fix boost::get<> invocation for variant

This commit is contained in:
arvidn 2018-06-09 21:53:22 +02:00 committed by Arvid Norberg
parent a357e490ed
commit e7fe7f1b89
1 changed files with 1 additions and 1 deletions

View File

@ -2733,7 +2733,7 @@ constexpr disk_job_flags_t disk_interface::cache_hit;
status_t disk_io_thread::do_file_priority(disk_io_job* j, jobqueue_t& /* completed_jobs */ )
{
j->storage->set_file_priority(
boost::get<aux::vector<download_priority_t, file_index_t>&>(j->argument)
boost::get<aux::vector<download_priority_t, file_index_t>>(j->argument)
, j->error);
return status_t::no_error;
}