Simplify a declaration

This commit is contained in:
Jesse Talavera 2024-08-14 13:22:22 -04:00
parent 1df7c02c68
commit 31ede99dee

View File

@ -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()