There was an error while loading. Please reload this page.
1 parent 7e8b560 commit 7c94e4cCopy full SHA for 7c94e4c
base/include/compv/base/compv_lock.h
@@ -70,8 +70,6 @@ class CompVAutoLock2
70
#define COMPV_AUTOLOCK_OBJ(T, obj) CompVAutoLock<T> __COMPV_autoLock__((obj))
71
#define COMPV_AUTOLOCK_THIS(T) COMPV_AUTOLOCK_OBJ(T, this)
72
#define COMPV_AUTOLOCK_THIS_CONST(T) COMPV_AUTOLOCK_OBJ(T, const_cast<T*>(this))
73
-#define __COMPV_AUTOLOCK__() COMPV_AUTOLOCK_THIS(decltype(*this))
74
-#define __COMPV_AUTOLOCK__CONST() COMPV_AUTOLOCK_THIS_CONST(decltype(*this))
75
#define COMPV_AUTOLOCK(mutex) CompVAutoLock2 __COMPV_autoLock2__((mutex))
76
77
COMPV_NAMESPACE_END()
0 commit comments