Skip to content
Snippets Groups Projects

[Semaphore] make default constructor more explicit

Merged Florian Fischer requested to merge aj46ezos/emper:fix-semaphore-for-libc++ into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -17,7 +17,7 @@ class Semaphore {
std::mutex mutex;
public:
Semaphore() = default;
Semaphore() : Semaphore(0){};
Semaphore(unsigned int count) : count(count){};
auto acquire() -> bool {
Loading