mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Simplify named_thread construction
This commit is contained in:
parent
b8477a470f
commit
daa53b77cf
12 changed files with 70 additions and 38 deletions
|
@ -2316,9 +2316,9 @@ std::string thread_ctrl::get_name_cached()
|
|||
return *name_cache;
|
||||
}
|
||||
|
||||
thread_base::thread_base(native_entry entry, std::string_view name)
|
||||
thread_base::thread_base(native_entry entry, std::string name)
|
||||
: entry_point(entry)
|
||||
, m_tname(make_single<std::string>(name))
|
||||
, m_tname(make_single_value(std::move(name)))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue