Fixed semaphores being duplicated needlessly.

This commit is contained in:
Thulinma 2014-07-17 16:25:10 +02:00
parent 933586661f
commit eea2c8b0db
2 changed files with 10 additions and 10 deletions

View file

@ -71,11 +71,11 @@ namespace IPC {
///\brief A class used as a semaphore guard
class semGuard {
public:
semGuard(semaphore thisSemaphore);
semGuard(semaphore * thisSemaphore);
~semGuard();
private:
///\brief The semaphore to guard.
semaphore mySemaphore;
semaphore * mySemaphore;
};
#if !defined __APPLE__