diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-16 20:01:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-16 20:01:01 +0000 |
commit | 3d0a53a1ad732cf9c4ae98e2391861c019d169d2 (patch) | |
tree | 98d137090cc0bfdaa744b133cdba79eec73134c9 /libs/pbd/pbd/semutils.h | |
parent | 8e2f6b9e0f1045beff3ab26d848a88afdd5c56e6 (diff) |
fix linux side of semaphore abstraction
git-svn-id: svn://localhost/ardour2/branches/3.0@8050 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/semutils.h')
-rw-r--r-- | libs/pbd/pbd/semutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pbd/semutils.h b/libs/pbd/pbd/semutils.h index 1d4a7eb838..6f5f0e9331 100644 --- a/libs/pbd/pbd/semutils.h +++ b/libs/pbd/pbd/semutils.h @@ -29,7 +29,7 @@ class ProcessSemaphore { sem_t* _sem; sem_t* ptr_to_sem() const { return _sem; } #else - sem_t _sem; + mutable sem_t _sem; sem_t* ptr_to_sem() const { return &_sem; } #endif |