From 008f3383efd5a061479edaec51a1f6febe800075 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 21 Jul 2018 21:33:53 +0200 Subject: [PATCH] Allow CarlaMutex to be constructed on the heap --- source/utils/CarlaMutex.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/utils/CarlaMutex.hpp b/source/utils/CarlaMutex.hpp index dde858385..ae7725185 100644 --- a/source/utils/CarlaMutex.hpp +++ b/source/utils/CarlaMutex.hpp @@ -97,7 +97,6 @@ private: mutable pthread_mutex_t fMutex; mutable volatile bool fTryLockWasCalled; // true if "tryLock()" was called at least once - CARLA_PREVENT_HEAP_ALLOCATION CARLA_DECLARE_NON_COPY_CLASS(CarlaMutex) }; @@ -185,7 +184,6 @@ private: mutable pthread_mutex_t fMutex; #endif - CARLA_PREVENT_HEAP_ALLOCATION CARLA_DECLARE_NON_COPY_CLASS(CarlaRecursiveMutex) };