mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2025-03-02 11:08:41 +00:00
Simplify a declaration
This commit is contained in:
parent
1df7c02c68
commit
31ede99dee
@ -24,9 +24,7 @@ using namespace melonDS;
|
||||
using Platform::Semaphore;
|
||||
|
||||
struct Platform::Semaphore {
|
||||
std::counting_semaphore<> semaphore;
|
||||
|
||||
Semaphore() : semaphore(0) {}
|
||||
std::counting_semaphore<> semaphore {0};
|
||||
};
|
||||
|
||||
Semaphore *Platform::Semaphore_Create()
|
||||
|
Loading…
x
Reference in New Issue
Block a user