mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Fix warning
This commit is contained in:
parent
18f82f0006
commit
5491fbee5b
1 changed files with 2 additions and 2 deletions
|
@ -91,8 +91,8 @@ scoped_progress_dialog::scoped_progress_dialog(std::string text) noexcept
|
|||
|
||||
scoped_progress_dialog& scoped_progress_dialog::operator=(std::string text) noexcept
|
||||
{
|
||||
// Exchange text atomically
|
||||
g_progr_text_queue[m_text_index].exchange(make_single_value(std::move(text)));
|
||||
// Set text atomically
|
||||
g_progr_text_queue[m_text_index].store(make_single_value(std::move(text)));
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue