mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Use requires syntax in more places
Change style in some places.
This commit is contained in:
parent
7dae376646
commit
0c9c481cee
10 changed files with 50 additions and 68 deletions
|
@ -480,8 +480,7 @@ class named_thread final : public Context, result_storage<Context>, thread_base
|
|||
|
||||
public:
|
||||
// Default constructor
|
||||
template <bool Valid = std::is_default_constructible_v<Context> && thread_thread_name<Context>(), typename = std::enable_if_t<Valid>>
|
||||
named_thread()
|
||||
named_thread() requires (std::is_default_constructible_v<Context>) && (thread_thread_name<Context>::value)
|
||||
: Context()
|
||||
, thread(trampoline, Context::thread_name)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue